reflexProvider is not valid jsx element

70 Replies
Unknown User
Unknown UserOP16mo ago
Message Not Public
Sign In & Join Server To View
Phantom
Phantom15mo ago
I'm having the same issue but I've uninstall roact/ react-ts and am now using @rbxts/react
No description
Unknown User
Unknown UserOP15mo ago
Message Not Public
Sign In & Join Server To View
Phantom
Phantom15mo ago
yep i did all that and
No description
Unknown User
Unknown UserOP15mo ago
Message Not Public
Sign In & Join Server To View
Phantom
Phantom15mo ago
thats what comes up with ls so i just cant use commander?
Unknown User
Unknown UserOP15mo ago
Message Not Public
Sign In & Join Server To View
Phantom
Phantom15mo ago
ah thanks
Phantom
Phantom15mo ago
is there any reason doing that and recompiling gave me a bunch of these errors in files
No description
Unknown User
Unknown UserOP15mo ago
Message Not Public
Sign In & Join Server To View
Phantom
Phantom15mo ago
No description
Phantom
Phantom15mo ago
there are no dependencies which use roact anymore i think its something to do with the && im using but i dont understand what the problem would be?
Phantom
Phantom15mo ago
also
No description
Phantom
Phantom15mo ago
how does this fix it?!?
No description
Phantom
Phantom15mo ago
(replacing && with ? : <></>)
Phantom
Phantom15mo ago
okay well ive fixed the issues with traits using empty fragments but now 90% of my react files are having issues similar to this
No description
Unknown User
Unknown UserOP15mo ago
Message Not Public
Sign In & Join Server To View
Phantom
Phantom15mo ago
thanks! will try later
Phantom
Phantom15mo ago
No description
Phantom
Phantom15mo ago
this is after removing the React.Element[] from the interface
Unknown User
Unknown UserOP15mo ago
Message Not Public
Sign In & Join Server To View
Phantom
Phantom15mo ago
No description
Phantom
Phantom15mo ago
its PropsWithChildren so i didnt make it children? do i have to use something other than PropsWithChildren?
Phantom
Phantom15mo ago
also same error happens
No description
Phantom
Phantom15mo ago
even if i remove extends and do what u said
Unknown User
Unknown UserOP15mo ago
Message Not Public
Sign In & Join Server To View
Phantom
Phantom15mo ago
No description
Phantom
Phantom15mo ago
oh wait maybe ill try removing children
Unknown User
Unknown UserOP15mo ago
Message Not Public
Sign In & Join Server To View
Phantom
Phantom15mo ago
thanks that works but is there any explanation for any &&'s being used in my react erroring unless i change it to ? : <></>?
Phantom
Phantom15mo ago
also this with a map?
No description
Unknown User
Unknown UserOP15mo ago
Message Not Public
Sign In & Join Server To View
Phantom
Phantom15mo ago
not function component
Unknown User
Unknown UserOP15mo ago
Message Not Public
Sign In & Join Server To View
Phantom
Phantom15mo ago
No description
Phantom
Phantom15mo ago
part of app
Unknown User
Unknown UserOP15mo ago
Message Not Public
Sign In & Join Server To View
Phantom
Phantom15mo ago
No description
Phantom
Phantom15mo ago
this should be fine surely? if its to do with undefined this does not possibly return an undefined value, right?
Phantom
Phantom15mo ago
wait is it
No description
Phantom
Phantom15mo ago
that?
Unknown User
Unknown UserOP15mo ago
Message Not Public
Sign In & Join Server To View
Phantom
Phantom15mo ago
app
Phantom
Phantom15mo ago
No description
Phantom
Phantom15mo ago
is it to do with the enemy damage indicator state being an enemy damage indicator or undefined?
Unknown User
Unknown UserOP15mo ago
Message Not Public
Sign In & Join Server To View
Phantom
Phantom15mo ago
array of elements is a child of app the Object.values right? its inside of my app component
Unknown User
Unknown UserOP15mo ago
Message Not Public
Sign In & Join Server To View
Phantom
Phantom15mo ago
oh i dont have it as a component i just put it in using {} should it be a component?
Unknown User
Unknown UserOP15mo ago
Message Not Public
Sign In & Join Server To View
Phantom
Phantom15mo ago
probably code instead of ss nvm too long
Unknown User
Unknown UserOP15mo ago
Message Not Public
Sign In & Join Server To View
Phantom
Phantom15mo ago
No description
Phantom
Phantom15mo ago
sorry i made it quite big i should prob refactor
Unknown User
Unknown UserOP15mo ago
Message Not Public
Sign In & Join Server To View
Phantom
Phantom15mo ago
oh sorry i get it now omg its the children thing again duplicate identifier tysm
Unknown User
Unknown UserOP15mo ago
Message Not Public
Sign In & Join Server To View
Phantom
Phantom15mo ago
sorry for taking up so much of ur time with my stupidity lol
Unknown User
Unknown UserOP15mo ago
Message Not Public
Sign In & Join Server To View
Phantom
Phantom15mo ago
oh yeah thats useful tysm
Unknown User
Unknown UserOP15mo ago
Message Not Public
Sign In & Join Server To View
Phantom
Phantom15mo ago
uhm i thought this was fixed but then there was a warning in roblox, and so i looked into node_modules then @rbxts then react then index.d.ts and found these four lines are erroring for some reason?
No description
No description
Phantom
Phantom15mo ago
nvm i think its this
No description
Unknown User
Unknown UserOP15mo ago
Message Not Public
Sign In & Join Server To View
Phantom
Phantom15mo ago
sorry i've fixed one of them but please could i have some help with the one in-roblox wait nvm this isnt a thread to do with commander
Unknown User
Unknown UserOP15mo ago
Message Not Public
Sign In & Join Server To View
Phantom
Phantom15mo ago
sorry for continuing this react issues thing but is there any reason now it has the error: import("C:/Users.....node_modules/@rbxts/react/src/index").ReactNode is not assignable to type 'React.ReactNode' obviously ... is just the path to the file then after that theres this
No description
Phantom
Phantom15mo ago
this is after updating to your new bugfix of react also the error is when i do {children} inside a component
Phantom
Phantom15mo ago
No description
Phantom
Phantom15mo ago
oh. 0.3.6 and 0.3.4 are causing issues? do i need to update react-roblox thanks!

Did you find this page helpful?