DEV Community

Discussion on: A Better useReducer: Colocating Side Effects With Actions Using useReducer

Collapse
 
yakimych profile image
Kyrylo Yakymenko • Edited

Hasn't ReasonReact switched to the React-hooks useReducer API without UpdateWithSideEffect after the latest update? Seems like those old features are "frozen" now: reasonml.github.io/reason-react/do...

The Record API is in feature-freeze. For the newest features and better support going forward, please consider migrating to the new function components.

Collapse
 
stillconor profile image
conor hastings

I did see this, but I liked the pattern anyway, maybe i'm missing something but do they have more complete info on hooks in reason

Collapse
 
yakimych profile image
Kyrylo Yakymenko

I liked it too! I think they just link to the React hooks docs, since they work the same in ReasonReact.