Open caesar1shi opened 7 months ago
Nice! I'm hoping to have an automated test suite for client-side components. After that, changes like this would feel safe to merge. However, that would be a low-priority thing because of the current development focus
The above code is currently ineffective, when top tag is another component.
To fix it, you only need to swap the positions of
walk(root)
andwrap.replaceWith(root)
in the functionmount
, as shown in the figure.