Only a portion of people who use React uses Redux, and only a portion of that uses redux-thunk or redux-saga:
For further actions, you may consider blocking this person and/or reporting abuse
For further actions, you may consider blocking this person and/or reporting abuse
Giovanni Panasiti -
Dsalinasgardon -
NΓcolas Gabriel -
Scott Hu -
Once suspended, sunflower will not be able to comment or publish posts until their suspension is removed.
Once unsuspended, sunflower will be able to comment and publish posts again.
Once unpublished, all posts by sunflower will become hidden and only accessible to themselves.
If sunflower is not suspended, they can still re-publish their posts from their dashboard.
Once unpublished, this post will become invisible to the public and only accessible to sunflowerseed.
They can still re-publish the post if they are not suspended.
Thanks for keeping DEV Community safe. Here is what you can do to flag sunflower:
Unflagging sunflower will restore default visibility to their posts.
Top comments (4)
For the last year I've been using react context as my global state solution with some useReducer magic here and there, and I'm very happy with the results. I miss how easy was to use middlewares, but there's always a workaround.
I just started using Apollo lately, and if you use GraphQL, it also works pretty well!
you don't use Redux but just use a context? does that mean when data updates the whole App's components render() are called?
Nope, good thing about using Context, you can create more than one. Also, only the components "subscribed" to a context will rerender if the context changes. It's basically the same as REDUX.
You have a great example of how to do it here: kentcdodds.com/blog/how-to-use-rea...
Seems like you are looking for a state management library w/o Redux.
I hear good things about Zustand, which you might want to try. (I will too)