rescript-lang / rescript-lang/rescript
Move JsxDOM types etc. into @rescript/react(-dom)
Offen
@tsnobip arbeitet bereits daran.
Seit 29.4.2026.
cleanup
- Vorherrschende Sprache
- OCaml
- Sterne
- 7.5k
- Forks
- 485
- Ø Merge
- 1 T. 2 Std.
- Gemergte PRs (30 T.)
- 55
Beschreibung
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.
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Bewertung
Dieses Issue wurde noch nicht bewertet.