News for hackers. Stuff that matters.

Hazae41

Show HN: XSWR – The simplest React data (re)fetching library ever made

https://github.com/hazae41/xswr

Hey there, I made a new library for React data fetching.XSWR is very inspired from SWR (which stands for "Stale While Revalidate").In fact, it's a side project I made to fill in the gaps of SWR, that ended up production-ready.XSWR uses two new approaches compared to other data fetching libraries like swr or react-query:- Encapsulating key, fetcher and resource type in a single abstraction...

( Read More... | no comments | on HN )

Show HN: InterPlanetary Fetcher – Fetch all resources of a hash to any gateway

This project is about a better distribution of resources on the InterPlanetary File System (IPFS) by allowing developers and end-users to prefetch all resources of a hash on a specific public gateway.Before this tool, only requested subfolders and subfiles would be fetched. With this tool, you can fetch all of them and check their availability on the specified gateway.This can be used when we...

( Read More... | no comments | 3 points | on HN )