Connect to standalone React Devtools
まだ誰も着手していません。
- 主要言語
- Luau
- スター
- 569
- フォーク
- 25
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
There has been discussion for a while about how to best connect React-lua to Devtools. #14 is a proof-of-concept Devtools implementation as a Roblox Studio plugin, but a better approach would be to connect React-lua directly to existing Devtools implementations.
This issue will focus on the Roblox use case because it's the only environment with a renderer currently written for React-lua.
Two(?) parts are required for a successful implementation:
- A Roblox Studio plugin that provides an interface for connecting to Devtools and selecting a React tree to debug.
- An external "bridge" application that connects Roblox to React Devtools. This is required because Roblox cannot open socket connections, which is how Devtools communicates. Roblox can communicate to the bridge via HTTP long polling.
This approach would also make it possible to use Devtools remotely on a live game client, as long as the Roblox side of the implementation is also exposed as a library. The bridge endpoint for Roblox would have to be exposed on the open internet.
This is still very early in planning, so if anyone has any thoughts or ideas, please share them in the replies.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
ソースファイル、テスト、エントリポイントはいずれも指定されていません。まず、提案されている Roblox Studio プラグインと外部ブリッジを確認してください。これには React Devtools への HTTP ロングポーリング接続も含まれます。スタンドアロンの Devtools 実装を通じて React ツリーを選択してデバッグできれば、作業は完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- lua, react
- 領域
- devtools, tooling
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100