React 18 support
Closes #34
This PR includes a small amount of formatting in src/React.res, I can remove that commit if #36 is merged first.
Marked as draft until React 18 is released.
- [x]
useSyncExternalStore - [x] ~~Uncurried version of hooks~~ Likely not needed, let me know if they are
- [x] Tests
@rickyvetter I think the only blocker on merging this is https://github.com/rescript-lang/rescript-react/pull/35#discussion_r839220770 - would you agree?
Also what do you think about removing the useSES bindings for now?
And shall we do uncurried bindings in a followup? Just so that #46 is unblocked.
What's made this PR blocked? I was waiting for react 18 binding so long!
See PPX v4: https://github.com/rescript-lang/rescript-react/pull/49/files#diff-46efb9fafbbb11cf26bd8ac10f0bc5df02ac0e42f593b87cce382e712b8cf950R15
Seems like a good place for this to go.
The issue is currently there's nobody specifically maintaining rescript-react per se. So pinging from time to time, as @hackwaly just did, could help things move along.
@tom-sherman Thanks a lot for your contribution! 👍
I will close this PR as we are finishing the work in #46.