Open
Description
- With JSX4 bringing breaking changes, the JSX3 bindings have been moved into a separate namespace ReactV3. I was wondering if this ReactV3 namespace shouldn't better be provided by some compatibility package.
@rescript/react
currently includes bindings for bothreact
andreact-dom
and also has both as peer and dev dependencies. However, not every React project is also using React DOM. E.g. React Native projects aren't. So IMHOreact-dom
bindings should go into their own package.- RescriptReactRouter into a separate package? #33 mentions the idea to split out ReScriptReactRouter into a separate package.
If we did all that, we'd end up with something like
@rescript/react
@rescript/react-dom
@rescript/react-jsx3-compat
@rescript/rescript-react-router
(or justrescript-react-router
?)
@mattdamon108 @cristianoc What do you think? How would such a split affect the PPX?
Metadata
Metadata
Assignees
Labels
No labels