Become a member
Sign in
Diwakar Singh
Diwakar Singh

Diwakar Singh

Software Engineer

23 Following
1 Followers
·
  • Profile

  • Claps

  • Highlights

  • Responses

Latest

Diwakar Singh
Diwakar Singh
Jul 7 · 1 min read

setState(updater[, callback])- When is this setState callback called !

All react documentation says about this callback is:

The second parameter to setState() is an optional callback function that will be executed once setState is completed and the component is re-rendered. Generally we recommend…

1