Move JsxDOM types etc. into @rescript/react(-dom)

オープン
#8,400 コメント 5 件 リアクション 1 件 担当者 1 名 GitHub で見る

@tsnobip がすでに取り組んでいます。

2026年4月29日 から。

評価

この issue はまだ評価されていません。

説明

cleanup

Proposal:

  • Remove modules Dom, Dom_storage, Dom_storage2 from the @rescript/runtime package
  • Instead of those, vendor the base package of experimental-webapi
  • Make the vendored @rescript/react depend on that
  • Split off @rescript/react-dom
  • Move JsxDOM/JsxDOMStyle/JsxEvent into @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.

主要言語
OCaml
スター
7.5k
フォーク
485
平均マージ
1日 2時間
マージ済み PR(30日)
55

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

rescript-lang/rescript のほかの issue

rescript-lang/rescript の issue をすべて見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。