Re:View Tree Duality
by svieira on Friday August 09, 2019 @03:19PM
(#20657486)
They are proposing a change the way the lifecycle of a React component is computed. Right now:
will result in `Thing` going through the unmount / re-mount portion of the component lifecycle every time `someCondition` changes. This proposal suggests that instead `Thing` should remain mounted. It has been suggested (in the linked issue https://github.com/facebook/react/issues/16316) that there is a plan to make this possible at some point via something termed "re-parenting".
[ Parent
| on HN ]
There are no comments on this comment yet.