Skip to content

V2.1.0

Compare
Choose a tag to compare
@ThaNarie ThaNarie released this 07 Nov 21:11
· 350 commits to master since this release

Hot reloading fix (4306894)

Some code should have been remove but wasn't, now it shouldn't
interfere with hot reloading components anymore

Add util function to clean up a HTML element before replacing it (bc8cb64)

Remove all instances bound to this html element or its children.
Finds all elements with a data-component attribute, and disposes and
removes the created component instance for that element.

You should call this function before removing/replacing any piece of
HTML that has components attached to it (e.g. when calling
initComponents on replaced HTML)