Connect to standalone React Devtools
還沒有人認領這個 Issue。
- 主要語言
- 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 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
未指定原始檔案、測試或進入點。首先檢查提議的 Roblox Studio 外掛程式和外部橋接程式,包括與 React Devtools 的 HTTP 長輪詢連線;當可以透過獨立的 Devtools 實作選取並偵錯 React 樹狀結構時,工作就完成了。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- lua, react
- 領域
- devtools, tooling
- Issue 類型
- 功能
- 難度
- 5/5
- 預估耗時
- 一週以上
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 25/100