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...
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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...