What changes would appear in the component as soon as the state of the React component is changed?

Q & ACategory: React JSWhat changes would appear in the component as soon as the state of the React component is changed?
Admin Staff asked 2 years ago

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 Answers
Admin Staff answered 2 years ago

b) It will re-render the component.