Connect to standalone React Devtools

未關閉
#21 0 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
5/5
預估耗時
一週以上
新手友好度
25/100
Issue 類型
功能
描述清晰度
需要釐清
活躍度
停滯
技術堆疊
lua, react
領域
devtools, tooling

研究方向

未指定原始檔案、測試或進入點。首先檢查提議的 Roblox Studio 外掛程式和外部橋接程式,包括與 React Devtools 的 HTTP 長輪詢連線;當可以透過獨立的 Devtools 實作選取並偵錯 React 樹狀結構時,工作就完成了。

由索引模型根據 Issue 內容生成。

描述

enhancement help wanted

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.

主要語言
Luau
星號
569
分支
25
PR 合併指標
30 天內沒有已合併 PR

貢獻指南

這個儲存庫沒有索引到貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

jsdotlua/react-lua 的其他 Issue

查看 jsdotlua/react-lua 的全部 Issue

相似的 Issue

更多 DevTools Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。