R
roblox-ts2y ago
Unknown User

reflexProvider is not valid jsx element

70 Replies
Unknown User
Unknown UserOP2y ago
Message Not Public
Sign In & Join Server To View
Phantom
Phantom2y 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 UserOP2y ago
Message Not Public
Sign In & Join Server To View
Phantom
Phantom2y ago
yep i did all that and
No description
Unknown User
Unknown UserOP2y ago
Message Not Public
Sign In & Join Server To View
Phantom
Phantom2y ago
thats what comes up with ls so i just cant use commander?
Unknown User
Unknown UserOP2y ago
Message Not Public
Sign In & Join Server To View
Phantom
Phantom2y ago
ah thanks
Phantom
Phantom2y ago
is there any reason doing that and recompiling gave me a bunch of these errors in files
No description
Unknown User
Unknown UserOP2y ago
Message Not Public
Sign In & Join Server To View
Phantom
Phantom2y ago
No description
Phantom
Phantom2y 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
Phantom2y ago
also
No description
Phantom
Phantom2y ago
how does this fix it?!?
No description
Phantom
Phantom2y ago
(replacing && with ? : <></>)
Phantom
Phantom2y 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 UserOP2y ago
Message Not Public
Sign In & Join Server To View
Phantom
Phantom2y ago
thanks! will try later
Phantom
Phantom2y ago
No description
Phantom
Phantom2y ago
this is after removing the React.Element[] from the interface
Unknown User
Unknown UserOP2y ago
Message Not Public
Sign In & Join Server To View
Phantom
Phantom2y ago
No description
Phantom
Phantom2y ago
its PropsWithChildren so i didnt make it children? do i have to use something other than PropsWithChildren?
Phantom
Phantom2y ago
also same error happens
No description
Phantom
Phantom2y ago
even if i remove extends and do what u said
Unknown User
Unknown UserOP2y ago
Message Not Public
Sign In & Join Server To View
Phantom
Phantom2y ago
No description
Phantom
Phantom2y ago
oh wait maybe ill try removing children
Unknown User
Unknown UserOP2y ago
Message Not Public
Sign In & Join Server To View
Phantom
Phantom2y ago
thanks that works but is there any explanation for any &&'s being used in my react erroring unless i change it to ? : <></>?
Phantom
Phantom2y ago
also this with a map?
No description
Unknown User
Unknown UserOP2y ago
Message Not Public
Sign In & Join Server To View
Phantom
Phantom2y ago
not function component
Unknown User
Unknown UserOP2y ago
Message Not Public
Sign In & Join Server To View
Phantom
Phantom2y ago
No description
Phantom
Phantom2y ago
part of app
Unknown User
Unknown UserOP2y ago
Message Not Public
Sign In & Join Server To View
Phantom
Phantom2y ago
No description
Phantom
Phantom2y ago
this should be fine surely? if its to do with undefined this does not possibly return an undefined value, right?
Phantom
Phantom2y ago
wait is it
No description
Phantom
Phantom2y ago
that?
Unknown User
Unknown UserOP2y ago
Message Not Public
Sign In & Join Server To View
Phantom
Phantom2y ago
app
Phantom
Phantom2y ago
No description
Phantom
Phantom2y ago
is it to do with the enemy damage indicator state being an enemy damage indicator or undefined?
Unknown User
Unknown UserOP2y ago
Message Not Public
Sign In & Join Server To View
Phantom
Phantom2y ago
array of elements is a child of app the Object.values right? its inside of my app component
Unknown User
Unknown UserOP2y ago
Message Not Public
Sign In & Join Server To View
Phantom
Phantom2y ago
oh i dont have it as a component i just put it in using {} should it be a component?
Unknown User
Unknown UserOP2y ago
Message Not Public
Sign In & Join Server To View
Phantom
Phantom2y ago
probably code instead of ss nvm too long
Unknown User
Unknown UserOP2y ago
Message Not Public
Sign In & Join Server To View
Phantom
Phantom2y ago
No description
Phantom
Phantom2y ago
sorry i made it quite big i should prob refactor
Unknown User
Unknown UserOP2y ago
Message Not Public
Sign In & Join Server To View
Phantom
Phantom2y ago
oh sorry i get it now omg its the children thing again duplicate identifier tysm
Unknown User
Unknown UserOP2y ago
Message Not Public
Sign In & Join Server To View
Phantom
Phantom2y ago
sorry for taking up so much of ur time with my stupidity lol
Unknown User
Unknown UserOP2y ago
Message Not Public
Sign In & Join Server To View
Phantom
Phantom2y ago
oh yeah thats useful tysm
Unknown User
Unknown UserOP2y ago
Message Not Public
Sign In & Join Server To View
Phantom
Phantom2y 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
Phantom2y ago
nvm i think its this
No description
Unknown User
Unknown UserOP2y ago
Message Not Public
Sign In & Join Server To View
Phantom
Phantom2y 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 UserOP2y ago
Message Not Public
Sign In & Join Server To View
Phantom
Phantom2y 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
Phantom2y ago
this is after updating to your new bugfix of react also the error is when i do {children} inside a component
Phantom
Phantom2y ago
No description
Phantom
Phantom2y 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?