70 Replies
Unknown UserOP•16mo ago
Message Not Public
Sign In & Join Server To View
I'm having the same issue but I've uninstall roact/ react-ts and am now using
@rbxts/react

Unknown UserOP•15mo ago
Message Not Public
Sign In & Join Server To View
yep i did all that and

Unknown UserOP•15mo ago
Message Not Public
Sign In & Join Server To View
thats what comes up with ls
so i just cant use commander?
Unknown UserOP•15mo ago
Message Not Public
Sign In & Join Server To View
ah thanks
is there any reason doing that and recompiling gave me a bunch of these errors in files

Unknown UserOP•15mo ago
Message Not Public
Sign In & Join Server To View

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?
also

how does this fix it?!?

(replacing && with ? : <></>)
okay well ive fixed the issues with traits using empty fragments but now 90% of my react files are having issues similar to this

Unknown UserOP•15mo ago
Message Not Public
Sign In & Join Server To View
thanks! will try later

this is after removing the React.Element[] from the interface
Unknown UserOP•15mo ago
Message Not Public
Sign In & Join Server To View

its PropsWithChildren so i didnt make it children?
do i have to use something other than PropsWithChildren?
also same error happens

even if i remove extends and do what u said
Unknown UserOP•15mo ago
Message Not Public
Sign In & Join Server To View

oh wait maybe ill try removing children
Unknown UserOP•15mo ago
Message Not Public
Sign In & Join Server To View
thanks that works but is there any explanation for any &&'s being used in my react erroring unless i change it to ? : <></>?
also this with a map?

Unknown UserOP•15mo ago
Message Not Public
Sign In & Join Server To View
not function component
Unknown UserOP•15mo ago
Message Not Public
Sign In & Join Server To View

part of app
Unknown UserOP•15mo ago
Message Not Public
Sign In & Join Server To View

this should be fine surely?
if its to do with undefined this does not possibly return an undefined value, right?
wait is it

that?
Unknown UserOP•15mo ago
Message Not Public
Sign In & Join Server To View
app

is it to do with the enemy damage indicator state being an enemy damage indicator or undefined?
Unknown UserOP•15mo ago
Message Not Public
Sign In & Join Server To View
array of elements is a child of app
the Object.values right?
its inside of my app component
Unknown UserOP•15mo ago
Message Not Public
Sign In & Join Server To View
oh i dont have it as a component
i just put it in using {}
should it be a component?
Unknown UserOP•15mo ago
Message Not Public
Sign In & Join Server To View
probably code instead of ss
nvm too long
Unknown UserOP•15mo ago
Message Not Public
Sign In & Join Server To View

sorry i made it quite big i should prob refactor
Unknown UserOP•15mo ago
Message Not Public
Sign In & Join Server To View
oh sorry i get it now
omg its the children thing again
duplicate identifier
tysm
Unknown UserOP•15mo ago
Message Not Public
Sign In & Join Server To View
sorry for taking up so much of ur time with my stupidity lol
Unknown UserOP•15mo ago
Message Not Public
Sign In & Join Server To View
oh yeah thats useful
tysm
Unknown UserOP•15mo ago
Message Not Public
Sign In & Join Server To View
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?


nvm i think its this

Unknown UserOP•15mo ago
Message Not Public
Sign In & Join Server To View
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 UserOP•15mo ago
Message Not Public
Sign In & Join Server To View
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
this is after updating to your new bugfix of react
also the error is when i do {children} inside a component

oh. 0.3.6 and 0.3.4 are causing issues?
do i need to update react-roblox
thanks!