in React JS by
Q:
What changes would appear in the component as soon as the state of the React component is changed?

a) It will do nothing; you have to call render method to render the component again.

b) It will re-render the component.

c) It can be created again from scratch.

d) None of the above.

1 Answer

0 votes
by

B is the correct answer. In React.js, as soon as the state is updated, the component re-renders itself.

Related questions

0 votes
asked Apr 15 in React JS by Robindeniel
0 votes
asked Apr 15 in React JS by Robindeniel
0 votes
asked Apr 15 in React JS by Robindeniel
...