All Projects → theguriev → redux-things

theguriev / redux-things

Licence: MIT License
Redux things | Fast and easy data synchronization for Redux

Programming Languages

javascript
184084 projects - #8 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to redux-things

React Async Fetcher
React component for asynchronous loading/fetch online data
Stars: ✭ 50 (+316.67%)
Mutual labels:  fetch, data
React Query
⚛️ Hooks for fetching, caching and updating asynchronous data in React
Stars: ✭ 24,427 (+203458.33%)
Mutual labels:  fetch, data
React Refetch
A simple, declarative, and composable way to fetch data for React components
Stars: ✭ 3,418 (+28383.33%)
Mutual labels:  fetch, data
Instagram Proxy Api
CORS compliant API to access Instagram's public data
Stars: ✭ 245 (+1941.67%)
Mutual labels:  fetch, data
node-blog-app
🌐 A node+espress+mongoose+react+nextjs blog
Stars: ✭ 12 (+0%)
Mutual labels:  fetch
form-data
Spec-compliant FormData implementation for Node.js
Stars: ✭ 73 (+508.33%)
Mutual labels:  fetch
fbvideos
🔗 Easily extract downloadable link of publicly available videos on facebook.
Stars: ✭ 28 (+133.33%)
Mutual labels:  fetch
node-fetch-har
Generate HAR entries for requests made with node-fetch
Stars: ✭ 23 (+91.67%)
Mutual labels:  fetch
node-fetch-cookies
node-fetch wrapper that adds support for cookie-jars
Stars: ✭ 15 (+25%)
Mutual labels:  fetch
http4s-dom
http4s, in a browser near you
Stars: ✭ 13 (+8.33%)
Mutual labels:  fetch
packages
Cloud Posse DevOps distribution of linux packages for native apps, binaries, alpine packages, debian packages, and redhat packages.
Stars: ✭ 107 (+791.67%)
Mutual labels:  fetch
ultrafetch
Node-based fetch backed with an RFC-7234 compliant filesystem cache.
Stars: ✭ 30 (+150%)
Mutual labels:  fetch
rsfetch
A WIP rewrite of rsfetch from scratch.
Stars: ✭ 33 (+175%)
Mutual labels:  fetch
Code-VueWapDemo
“Vue教程--Wap端项目搭建从0到1”的源码
Stars: ✭ 19 (+58.33%)
Mutual labels:  fetch
fastfetch
Like neofetch, but much faster because written in c. Only Linux.
Stars: ✭ 191 (+1491.67%)
Mutual labels:  fetch
cat-fetch
Cute fetch started as a C program, now more complex and just better
Stars: ✭ 16 (+33.33%)
Mutual labels:  fetch
fetch-wrap
extend WHATWG fetch wrapping it with middlewares
Stars: ✭ 21 (+75%)
Mutual labels:  fetch
re-frame-fetch-fx
js/fetch Effect Handler for re-frame
Stars: ✭ 24 (+100%)
Mutual labels:  fetch
wumpfetch
🚀🔗 A modern, lightweight, fast and easy to use Node.js HTTP client
Stars: ✭ 20 (+66.67%)
Mutual labels:  fetch
axios-endpoints
Axios endpoints helps you to create a more concise endpoint mapping with axios.
Stars: ✭ 41 (+241.67%)
Mutual labels:  fetch

Redux Things

A library that allows you to quickly and easily synchronize your store with the server.

Features

  • Skeletons Skeletons
  • Auto refetching pooling
  • Prefetch prefetch
  • Window refocus refetching refocus
  • Debouncing
  • Dependend things
  • And many more...

Summary

  • It's easy and fast: Writing your data fetching logic by hand is over. Tell Redux Things where to get your data and how fresh you need it to be and the rest is automatic. Redux Things handles caching, background updates and stale data out of the box with almost zero-configuration. If you know how to work with promises or async/await, then you already know how to use Redux Things. Simply pass a function that resolves your data (or throws an error) and the rest is history.
  • Easy integration: All your previous legacy stuff will work as it was before. Nothing new. So, you do not need to demolish the house when the roof is leaking. There's no magic here, just middleware, actions, selectors, and async reducers.
  • It's extensible: Built to fit most use cases out-of-the-box, but can easily be extended with custom Redux middleware, sagas, UI integrations, network interfaces, etc.

Problems that Redux Things will completely solve

Caching

You no longer need to worry about DDos on your own backend server. Requests will occur only when there is no data in the redux store. You can even use custom selectors, this will allow you to extract data from an external redux thing, which in turn reduces the number of requests to the server. Example:

// Request 1
/api/posts
[
    {
        id: 1,
        title: 'Super Cool post 1'
    },
    {
        id: 2,
        title: 'Super Cool post 2'
    },
    {
        id: 3,
        title: 'Super Cool post 3'
    }
]

// A request that does not launch because the data is already in the redux store
/api/post/2
{
    id: 2,
    title: 'Super Cool post 2'
}

Deduping multiple requests for the same data into a single request

Even if you run a million hooks from different components at the same time, only one request will be processed. This is very good because it does not restrict you from using it everywhere.

Preload data in the background

You can preload data and use it when you need it. This will help improve the user experience due to the responsiveness of the interface. Fast speed = happy users 😊

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].