ReasonReact and local state
summary
A concrete claim: local state via reducer components keeps state minimal per instance so counters stop interfering and only the clicked component re-renders. Implementation details: a small ReasonReact reconciler and a tiny spring library drive animations, with explicit subscription setup and cleanup to avoid leaks. Demos include spring-based animations composited with text inputs and an image gallery, plus controllable widgets using remote actions that actually work live.
AI-written summary · about
chapters (7)
- 0:00Start
- 5:32Reason React Wraps React for use by Reason
- 11:04Global State Example
- 15:39Reducers
- 17:00Local State Example
- 28:27Controllable Component
- 29:14Animated Text Input








