After this unregister call, brand-content is still inside the tree, but a call to getNode('brand-content') will return undefined, as its been removed from internal state.
Expected behavior
An unregister should not break internal state around pathing.
Describe the bug Internal LRUD state uses string paths to determine some of its logic.
The processes around these is broken if 2 siblings start with the same series of characters
To Reproduce
After this unregister call,
brand-content
is still inside the tree, but a call togetNode('brand-content')
will returnundefined
, as its been removed from internal state.Expected behavior An unregister should not break internal state around pathing.