You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
React Easy State is a practical state management library with two functions and two accompanying rules.
48
47
@@ -65,7 +64,7 @@ This is enough for it to automatically update your views when needed. It doesn't
65
64
66
65
Check this [TodoMVC codesandbox](https://codesandbox.io/s/github/RisingStack/react-easy-state/tree/master/examples/todo-mvc?module=%2Fsrc%2FtodosStore.js) or [raw code](/examples/todo-mvc/src/todosStore.js) for a more exciting example with nested data, arrays and computed values.
67
66
68
-
## Installation
67
+
## Installation:cd:
69
68
70
69
`npm install @risingstack/react-easy-state`
71
70
@@ -86,7 +85,7 @@ _You need npm 5.2+ to use npx._
86
85
87
86
</details>
88
87
89
-
## Everyday Usage
88
+
## Everyday Usage:sunglasses:
90
89
91
90
### Creating global stores
92
91
@@ -633,7 +632,7 @@ Instead of returning an object, you should directly mutate the received stores.
-[Contacts Table](https://risingstack.github.io/react-easy-state/examples/contacts/build) ([source](/examples/contacts/)) ([codesandbox](https://codesandbox.io/s/github/RisingStack/react-easy-state/tree/master/examples/contacts)): a data grid implementation with a mix of global and local state.
825
820
-[Beer Finder](https://risingstack.github.io/react-easy-state/examples/beer-finder/build) ([source](/examples/beer-finder/)) ([codesandbox](https://codesandbox.io/s/github/RisingStack/react-easy-state/tree/master/examples/beer-finder)) ([tutorial](https://medium.com/@solkimicreb/design-patterns-with-react-easy-state-830b927acc7c)): an app with async actions and a mix of local and global state, which finds matching beers for your meal.
826
821
827
-
## Articles
822
+
## Articles:loudspeaker:
828
823
829
824
-[Introducing React Easy State](https://blog.risingstack.com/introducing-react-easy-state/): making a simple stopwatch.
830
825
-[Stress Testing React Easy State](https://medium.com/@solkimicreb/stress-testing-react-easy-state-ac321fa3becf): demonstrating Easy State's reactivity with increasingly exotic state mutations.
831
826
-[Design Patterns with React Easy State](https://medium.com/@solkimicreb/design-patterns-with-react-easy-state-830b927acc7c): demonstrating async actions and local and global state management through a beer finder app.
832
827
-[The Ideas Behind React Easy State](https://medium.com/dailyjs/the-ideas-behind-react-easy-state-901d70e4d03e): a deep dive under the hood of Easy State.
833
828
834
-
## Performance
829
+
## Performance:rocket:
835
830
836
831
You can compare Easy State with plain React and other state management libraries with the below benchmarks. It performs a bit better than MobX and similarly to Redux.
@@ -849,7 +844,7 @@ You can compare Easy State with plain React and other state management libraries
849
844
850
845
_This library is based on non polyfillable ES6 Proxies. Because of this, it will never support IE._
851
846
852
-
## Alternative builds
847
+
## Alternative builds:wrench:
853
848
854
849
This library detects if you use ES6 or commonJS modules and serve the right format to you. The default bundles use ES6 features, which may not yet be supported by some minifier tools. If you experience issues during the build process, you can switch to one of the ES5 builds from below.
855
850
@@ -860,11 +855,9 @@ This library detects if you use ES6 or commonJS modules and serve the right form
860
855
861
856
If you use a bundler, set up an alias for `@risingstack/react-easy-state` to point to your desired build. You can learn how to do it with webpack [here](https://webpack.js.org/configuration/resolve/#resolve-alias) and with rollup [here](https://github.com/rollup/rollup-plugin-alias#usage).
862
857
863
-
## Contributing
864
-
865
-
Contributions are always welcome. Please read our [contributing documentation](CONTRIBUTING.md). Thanks!
858
+
## Contributors :sparkles:
866
859
867
-
## Contributors ✨
860
+
Contributions are always welcome, please read our [contributing documentation](CONTRIBUTING.md).
868
861
869
862
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
0 commit comments