News for hackers. Stuff that matters.
Re:ReasonML – React as first intended by crooked-v on Thursday May 24, 2018 @03:18PM (#17147308)
The new context API can probably help with that. Pass an object through context that contains the reducer state of a root level component (or a getState() or whatever), plus a dispatch function. Blam, Redux-equivalent without a separate library.
Re:ReasonML – React as first intended by RobertKerans on Thursday May 24, 2018 @04:40PM (#17148212)
ReasonReact doesn't have Context, the API is unstable so they aren't binding to it.
Re:ReasonML – React as first intended by RussianCow on Thursday May 24, 2018 @05:11PM (#17148450)
The new API as of 16.3 is stable, so I suspect ReactReason will support it soon (if it doesn't already, by default).

https://reactjs.org/docs/context.html

Re:ReasonML – React as first intended by RobertKerans on Friday May 25, 2018 @04:08AM (#17151558)
Ah, that's great that it's finally settled. RR is on v15 in terms of what it has to support though, so no dice; main focus at the minute seems to be on dropping v15 support and migrating to v16, which cleans up some of the code (particularly w/r/t the async side), but that has to happen before they bind to the new API, so going to be a while.