Friday, 15 February 2019

react useState hook . vs state

useState hook  can be used in function component.
the change state function doesn't do update of your "state", it do override(delete and insert) whole "state"
you can have more than one useState in one componenets , which means you can have multi "states" objects..

No comments:

Post a comment