Fix import of ../utils and ./utils
Nobody has claimed this yet.
- Dominant language
- Luau
- Stars
- 569
- Forks
- 25
- PR merge metrics
- No merged PRs in 30d
Description
I'm only able to get devtools to run (with rojo translating ../utils to script.Parent.Parent:WaitForChild('utils') if I change this in react-devtools-shared/src/backend/renderer.luau :
#ocal utils = require(script.Parent:WaitForChild('utils')) # does not work
local utils = require(script.Parent.Parent:WaitForChild('utils')) # does work
So, I think it should be this, because getUID() is in utils not backend/utils:
local utils = require("../utils")
Otherwise getUID() and getDisplayName() etc are nil.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in react-devtools-shared/src/backend/renderer.luau around the utils import and compare the referenced utils location with the backend directory. Run the devtools setup or reproduction described in the issue, then verify that getUID(), getDisplayName(), and the other utils are available and devtools runs successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua, react
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100