pinia-shared-state
rematch
pinia-shared-state | rematch | |
---|---|---|
3 | 10 | |
250 | 8,459 | |
- | 0.1% | |
7.5 | 2.5 | |
4 months ago | 7 months ago | |
TypeScript | TypeScript | |
MIT License | 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.
pinia-shared-state
- ๐ A lightweight plugin to sync your pinia state across browser tabs.
-
Vue 3.2 introduces a new Effect Scope API that can capture reactive effects created within it so that these effects can be disposed together.
I love pinia and I've been making some plugins https://github.com/wobsoriano/pinia-shared-state
- ๐ A lightweight module to sync your pinia state across browser tabs
rematch
-
What is React State Management?
Link: https://rematchjs.org/
-
Learning Redux as a beginner and where to start
I use Rematch. Itโs built on top of redux but without all the ridiculous boiler plate. I looked into Redux Toolkit but found it still requiring too much unneeded code.
-
You donโt need a state management library for React. Use useState + Context
Rematch
-
Which state management to use?
Rematch is a nice wrapper on redux. Iโd also recommend recoil, not sure if theyโre stable yet but Iโve used it in production without any issues. Depends on the complexity of your app, may be overkill using these libraries.
-
Lets vote on React State Management
Rematch - this is what I used last time after careful evaluation.
- Redux Toolkit is Awesome
-
What's your favorite state manager?
Iโve always found Redux too verbose and cumbersome. Luckily I found Rematch. It is Redux best practices without the boilerplate
-
HOCs are slowing down my app
I'm working on a Grid component which uses react window to render the cells, Each cell uses 5 HOCs where they each subscribe to the store(I use rematch) with connect and some of the HOCs have selectors where they compute some data with a relatively expensive function. I use lodash compose to merge all the HOCs and use it in the Cell component.
-
Rematch.js v2 released
Rematch has been created a few years ago by Shawn McKay and Blair Bodnar, a pair of canadian programmers. It's a tiny but super powerful wrapper around Redux that reduces tons of boilerplate that Redux needs to operate.
-
Options for offline + online database
Checkout Rematch as a redux implementation. It is build on top of redux, but removes all the horrible boilerplate and keeps the good parts.
What are some alternatives?
pinia-xstate - Put your xstate state machines into a global pinia store.
Recoil - Recoil is an experimental state management library for React apps. It provides several capabilities that are difficult to achieve with React alone, while being compatible with the newest features of React.
nuxt3-structure-modules-pinia - Using Modules and Pinia to structure Nuxt 3 app
next-redux-wrapper - Redux wrapper for Next.js
pinia-plugin-persistedstate - ๐ Configurable persistence and rehydration of Pinia stores.
zustand - ๐ป Bear necessities for state management in React
pinia-undo - ๐ Undo/Redo plugin for pinia.
react-redux - Official React bindings for Redux [Moved to: https://github.com/reduxjs/react-redux]
rfcs - RFCs for substantial changes / feature additions to Vue core
harlem - Powerfully simple global state management for Vue 3
react-native-segmented-control - ๐ React Native Segmented Control ๐ฎ for both iOS, Android and Web