Fix import of ../utils and ./utils
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 45/100
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.
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.
- Dominant language
- Luau
- Stars
- 569
- Forks
- 25
- PR merge metrics
- No merged PRs in 30d
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.
More from jsdotlua/react-lua
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
-
Deprecate forwardRef Open
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 48/100
-
Difficulty 3/5 1-2 days Newbie friendliness 52/100
All issues in jsdotlua/react-lua
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
Difficulty 1/5 1-3 hours Newbie friendliness 86/100
DavidAnson/markdownlint-cli2#940 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
EclipseFdn/open-vsx.org#13385 · 1 comment ·
-
bug ci good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100