rescript-lang / rescript-lang/rescript
Move JsxDOM types etc. into @rescript/react(-dom)
Aperta
@tsnobip ci sta già lavorando.
Dal 29/4/2026.
cleanup
- Lingua principale
- OCaml
- Stelle
- 7.5k
- Fork
- 485
- Merge medio
- 1g 2h
- PR unite (30g)
- 55
Descrizione
Proposal:
- Remove modules
Dom,Dom_storage,Dom_storage2from the@rescript/runtimepackage - Instead of those, vendor the base package of
experimental-webapi - Make the vendored
@rescript/reactdepend on that - Split off
@rescript/react-dom - Move
JsxDOM/JsxDOMStyle/JsxEventinto@rescript/react-dom - Make everything work 🙂
- Also make it work/test with rescript-react-native and a with non-React JSX runtime like Xote
Note that any vendoring here (@rescript/react, @rescript/react-dom, relevant parts of webapi and rescript-react-native/Xote) does not mean moving the source of truth for these packages into the compiler repo. It's just for easier and quicker iteration while moving things around.
Once the new shape has crystallized, things need to be synced back to the respective repos.
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Valutazione
Questa issue non è ancora stata valutata.