Created with CodeSandbox
parent state: 0.6149020780024737
child state (PropsWithUseState): $0
child state (PropsWithsUseEffect): $0.6149020780024737
Created with CodeSandbox
https://codesandbox.io/s/github/hochan222/react-init-useState-with-props
Created with CodeSandbox
parent state: 0.6149020780024737
child state (PropsWithUseState): $0
child state (PropsWithsUseEffect): $0.6149020780024737
Created with CodeSandbox
https://codesandbox.io/s/github/hochan222/react-init-useState-with-props