the beforeUnmount feature is very usefull to do some cleanup before unmounting, but it is not reliably working.
In a simple example with one Store and one Store<*>.render it is working without problems, but when nesting render-Blocks, it is only called for the outer MountPoint.
Hello,
the
beforeUnmount
feature is very usefull to do some cleanup before unmounting, but it is not reliably working.In a simple example with one
Store
and oneStore<*>.render
it is working without problems, but when nesting render-Blocks, it is only called for the outer MountPoint.Example:
If i click the first button (Update Outer Store) i get following logs:
afterMount is called for both, but beforeUnmount is only called for the outer MountPoint. I would expect it to be called recursively on all levels.