You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 19, 2025. It is now read-only.
If you run toReactElement('<h1>Test 1</h1>') again it keeps test 2 in memory
I patched this myself by moving the rootconst inside the function, but you may have a better solution of how to fix this. You could also trim the HTML string passed to parse maybe?
This was originally a problem I faced in
@ethercorps/sveltekit-ogbut I have found that thetoReactElement()is where problems where cropping up.If you run
toReactElement('<h1>Test 1</h1>')again it keeps test 2 in memoryI patched this myself by moving the
rootconst inside the function, but you may have a better solution of how to fix this. You could also trim the HTML string passed to parse maybe?