3 ms·
Is the issue with functional components that they blow away the state of any stateful components they contain with HMR? If you install and run this Gist mini-p
by insin 11y ago
Is the issue with functional components that they blow away the state of any stateful components they contain with HMR?
If you install and run this Gist mini-project, you still get the HMR experience with the functional component:
https://gist.github.com/insin/02103c862ed3622f8b8b#file-readme-md https://gist.github.com/insin/02103c862ed3622f8b8b#file-read...