There needs to be an unmounting hook for solving issues like preserving form state and the other hooks need access to the root Node to avoid unnecessary lookups. There's also an example of how to preserve form state, though that doesn't need to be merged
There needs to be an unmounting hook for solving issues like preserving form state and the other hooks need access to the root Node to avoid unnecessary lookups. There's also an example of how to preserve form state, though that doesn't need to be merged