python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
show - hide component with hook function works only one time
I am trying to show and hide a functional component, it's works only works on load. after hide it's not shows again. i understand that, the way i use the functional component in wrong way.
any one sug...
user2024080
Votes: 0
Answers: 2
how can i solve this problem 'JSX element type does not have any construct or call signatures.' warning?
i want to make item list to component using with fetched data(items).
what do is mean?, and how can I solve this problem?
YMJ
Votes: 0
Answers: 1
TS2322: Type '{ text: string; }' is not assignable to type 'string'. while passing prop
I am trying to pass a prop of type string to a functional component defined in the same file and it is throwing the error:
TS2322: Type '{ text: string; }' is not assignable to type 'string'.
I have b...
eh1412
Votes: 0
Answers: 3
How to apply a png texture to a glTF model with React-three/fiber
I'm trying to apply a texture map that is a png to a glTF model I have. I just can't figure out how.
Currently, I can import the glTF model properly by doing:
import { useGLTF } from "@react-thre...
Jacky
Votes: 0
Answers: 1