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 :
#ocalutils=require(script.Parent:WaitForChild('utils')) #doesnotworklocalutils=require(script.Parent.Parent:WaitForChild('utils')) #doesworkSo, I think it should be this, because getUID() is in utils not backend/utils:
localutils=require("../utils") | localutils=require("./utils") |
| localdeletePathInObject=utils.deletePathInObject |
| localgetDisplayName=utils.getDisplayName |
| localgetDefaultComponentFilters=utils.getDefaultComponentFilters |
| localgetInObject=utils.getInObject |
| localgetUID=utils.getUID |
| localrenamePathInObject=utils.renamePathInObject |
| localsetInObject=utils.setInObject |
| -- ROBLOX deviation: Don't encode strings |
| -- local utfEncodeString = utils.utfEncodeString |
| localstorage=require("../storage") |
| localsessionStorageGetItem=storage.sessionStorageGetItem |
| localbackendUtils=require("./utils") |
| localcleanForBridge=backendUtils.cleanForBridge |
| localcopyToClipboard=backendUtils.copyToClipboard |
| localcopyWithDelete=backendUtils.copyWithDelete |
| localcopyWithRename=backendUtils.copyWithRename |
| localcopyWithSet=backendUtils.copyWithSet |
Otherwise getUID() and getDisplayName() etc are nil.
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 :So, I think it should be this, because
getUID()is in utils not backend/utils:react-lua/modules/react-devtools-shared/src/backend/renderer.luau
Lines 53 to 70 in df4b407
Otherwise
getUID()andgetDisplayName()etc are nil.