0 votes
104 views
in Javascript by (3.5k points)
edited

Can you update props in react?

1 Answer

0 votes
by (3.5k points)
selected by
 
Best answer
You can’t update props in react js because props are read-only. Moreover, you can not modify props received from parent to child.

Related questions

0 votes
1 answer 103 views
asked Aug 19, 2022 in Javascript by codelikepro (3.5k points)
0 votes
1 answer 104 views
asked Aug 19, 2022 in Javascript by codelikepro (3.5k points)
0 votes
1 answer 127 views
0 votes
1 answer 171 views
0 votes
0 answers 53 views
0 votes
1 answer 111 views

Doubtly is an online community for engineering students, offering:

  • Free viva questions PDFs
  • Previous year question papers (PYQs)
  • Academic doubt solutions
  • Expert-guided solutions

Get the pro version for free by logging in!

5.7k questions

5.1k answers

108 comments

554 users

...