-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Differences between redux and dutier #3
Comments
I think But dutier Dutier Dutier has a tiny size (1.5kb), no dependencies, tiny API and it's very easy to get started with React, Vue, Preact, any Frameworks. |
Are there any pattern for making It looks great, tiny and relevant 💯 |
@piyushchauhan2011 I'll provide some examples with api requests, but I think you can make an api request inside your component and them dispatch an action with response, chaining your dispatch and then update the component state with the new state value, returned by dispatch method. But the fetch will be present inside your component, not in your actions... Thanks!! |
Seems like the biggest difference is that dutier is a singleton? |
@developit yeah! So, it's because dutier createStore just sets the initialState and the reducers will return new state values and update the current state. With this, you don't need to pass a store instance over your components... Thanks for comment! |
Dutier v0.0.3 available now! Thanks folks! |
What are the main differences between dutier and redux?
The text was updated successfully, but these errors were encountered: