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