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
Mostly for plugins : I think we should consider switching from props to context. Currently when we have plugins that are HoCs, they need to know about everything that should come after it. Maybe we should just pass ...props from the HoC components but another option would be using contexts. There are likely some other benefits from this as well. Any thoughts around this?
The text was updated successfully, but these errors were encountered:
I have to say that context is not an official feature, and should be handled with care and the possibility that it can be removed. On the other side, popular libraries, like redux, have high dependency on that feature as well.
One thing with the context is that is more appropriate to data handling than to have it saving the state of the app.
Mostly for plugins : I think we should consider switching from props to context. Currently when we have plugins that are HoCs, they need to know about everything that should come after it. Maybe we should just pass ...props from the HoC components but another option would be using contexts. There are likely some other benefits from this as well. Any thoughts around this?
The text was updated successfully, but these errors were encountered: