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
{{ message }}
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.
Describe the feature you'd like to see included in Plant-for-the-Planet App.
Currently we use redux to share state, thats awsome, problem is for a component tree we needed to pass a props/function/action from top to very bottom on the tree, that causes sometimes missing props in somewhere in the middle.
I think we can avoid this kind of passing props hell by using context api on UPDATED REACT(0.6+)
What are the use cases for this feature?
We will use redux as is, but in addition we can use context api just to avoid these kind of issue.
Background: Today I had an issue like this, thus thought of implementing some kind of upgrade to this process..
Open discussion is required, I hope everyone commenting please check what context api can do for us.
The text was updated successfully, but these errors were encountered:
Describe the feature you'd like to see included in Plant-for-the-Planet App.
Currently we use redux to share state, thats awsome, problem is for a component tree we needed to pass a props/function/action from top to very bottom on the tree, that causes sometimes missing props in somewhere in the middle.
I think we can avoid this kind of passing props hell by using context api on UPDATED REACT(0.6+)
What are the use cases for this feature?
We will use redux as is, but in addition we can use context api just to avoid these kind of issue.
Background: Today I had an issue like this, thus thought of implementing some kind of upgrade to this process..
Open discussion is required, I hope everyone commenting please check what context api can do for us.
The text was updated successfully, but these errors were encountered: