Skip to main content

One doc tagged with "state"

View all tags

Update State From Props

Initial value for state is only used for the first render of the component, all later renders ignore the initial state