Hi all,
I am writing an application in ReScript + React. It manages state using multiple reducers: one at the top level, and a few for self-contained pages underneath that. The top reducer passes some component props down to the lower reducers, which are “linked” to that state using useEffect. So far I have not used a router, and I do not update the history (so linking / back button don’t work).
I’m wondering what the best way is to link multiple reducers together, and how to make browser history / URL linking work. Are there any examples in the wild?
I’m currently using bloodyowl/rescript-react-update and would like to use the built-in RescriptReactRouter
.