We can update the state in React.js by calling to setState() method. These calls are:

Q & ACategory: React JSWe can update the state in React.js by calling to setState() method. These calls are:
Admin Staff asked 2 years ago

We can update the state in React.js by calling to setState() method. These calls are:

a) Synchronous in nature.

b) Asynchronous in nature.

c) Are asynchronous but can be made synchronous when required.

d) None of the above.

1 Answers
Admin Staff answered 2 years ago

b) Asynchronous in nature.