0 votes
in ReactJS by
edited by
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 Answer

0 votes
by

B is the correct answer. The call to setState() method in React.js is asynchronous, and multiple calls can be batched for better performance.

...