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
TypeError: allOrg.map is not a function
I am trying to loop through all the objects in a array state in react, hence I used map function. Here is the block of code where I used the map function:
return(
<div>
<Navbar/>&...
RONAK MALKAN
Votes: 0
Answers: 1
Is it a good practice to use switch case in useEffect Reactjs?
I am handling some functionality in some functions. Basically I am handling some states in multiple functions. Those functions need to be called when particular state updates. Now there are a lot of s...
Bhushan Patil
Votes: 0
Answers: 1
Passing Interface props in functional component in Typescript
Error:
Actually, I can solve this error if I add a question mark on my interface. However, I expected it should work without a question mark. Am I missing something or is it right to add a question m...
JiwanJeon94
Votes: 0
Answers: 2