According to reason-react docs instance variables should be stored in state and be marked with ref instead of mutable to prepare for concurrent react.
I am unsure whether this makes any difference for a global state management solution like reductive, but would be nice to have a better insight into this from someone who has a better understanding of the internals of reductive and reason-react. If it does make a difference, the fix is rather simple but nice to have to be ready for the future changes.
Would appreciate any opinions/thoughts on this :)
According to
reason-reactdocs instance variables should be stored instateand be marked withrefinstead ofmutableto prepare for concurrent react.I am unsure whether this makes any difference for a global state management solution like
reductive, but would be nice to have a better insight into this from someone who has a better understanding of the internals ofreductiveandreason-react. If it does make a difference, the fix is rather simple but nice to have to be ready for the future changes.Would appreciate any opinions/thoughts on this :)