react-rxjs
glacier
react-rxjs | glacier | |
---|---|---|
2 | 1 | |
530 | 124 | |
0.9% | - | |
4.2 | 9.5 | |
3 months ago | 2 months ago | |
TypeScript | TypeScript | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
react-rxjs
-
Tinkering with observability for shared React states (without context), would love any thoughts
I use this pattern quite a bit at work! Have you seen https://observable-hooks.js.org/ or https://react-rxjs.org/ ? They both have similar methods that you do for observable state. You can even write your own custom hooks and just use an rxjs Behavior Subject to achieve the same kind of behavior.
-
Rxjs library
I'm the 2nd author of https://github.com/re-rxjs/react-rxjs and I use it on almost every project to manage the state of the app. I think it's extremely powerful, minimal boilerplate, and you can make pretty complex things without spaghetti code, that keeps scaling well even on an ongoing 2+ years project with 4 FE devs working fulltime. Another big advantage is that it's fairly simple to set up codesplitting
glacier
What are some alternatives?
akita - 🚀 State Management Tailored-Made for JS Applications
cross-storage - Cross domain local storage, with permissions
react-fetching-library - Simple and powerful API client for react 👍 Use hooks or FACCs to fetch data in easy way. No dependencies! Just react under the hood.
lawnchair.js - A lightweight clientside JSON document store,
use-http - 🐶 React hook for making isomorphic http requests
jquery-cookie
diffx - A state management library for React, Vue.js, Svelte, Angular and vanilla javascript
Cookies - JavaScript Client-Side Cookie Manipulation Library
WatermelonDB - 🍉 Reactive & asynchronous database for powerful React and React Native apps ⚡️
jStorage - jStorage is a simple key/value database to store data on browser side
PouchDB - :koala: - PouchDB is a pocket-sized database.
basket.js - A script and resource loader for caching & loading files with localStorage