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
It'd be awesome if React.js had reducers, similar to what ReasonReact recently introduced.
We’re also decided to iterate on ReasonReact instead of core React, partially because we’re Reason users and partially because ReasonReact’s nature of being new & less used allow us to iterate exciting new APIs without legacy concerns
Since I couldn't find any previous talk about this I'm assuming this has been discussed internally, it'd be great to chat about it in the open and iterate on core React state management!
Let's move discussion of new component APIs into the React Future repo.
it'd be great to chat about it in the open and iterate on core React state management
For more context: we're holding off on any major additions or changes to the component API until async rendering is more stable. There are many new constraints and quirks created by async rendering. It would be counterproductive for us to introduce new APIs now, only to find out later that those APIs aren't resilient to async behaviors.
@trueadm is also experimenting with a React component compiler, which will likely also influence the design of the new API.
tl;dr: Change is coming, but not right now.
(And yes, we're in constant collaboration with the Reason team, including in the design of the new reducer API.)
It'd be awesome if React.js had reducers, similar to what ReasonReact recently introduced.
Since I couldn't find any previous talk about this I'm assuming this has been discussed internally, it'd be great to chat about it in the open and iterate on core React state management!
The ReasonReact reducers example
The text was updated successfully, but these errors were encountered: