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

Ho can you re-render a component without using setState() function?

1 Answer

0 votes
by (3.5k points)
selected by
 
Best answer
You can use forceUpdate() function for re-rending any component.

Related questions

0 votes
0 answers 111 views
asked Apr 3, 2022 in Javascript by Doubtly (98.9k points)
+1 vote
1 answer 99 views
+1 vote
1 answer 115 views
0 votes
1 answer 124 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

535 users

...