Skip to main content

2 docs tagged with "react"

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