Skip to content
This repository has been archived by the owner on Sep 3, 2022. It is now read-only.

Version 0.6.0

Compare
Choose a tag to compare
@rbiggs rbiggs released this 09 Oct 21:29
· 159 commits to master since this release
Major refactor of patch algo.

1. Previously the patch algo returned a vnode which you had to capture and return to the next render.
2. Now patch returns the element base of the component. As such, you capture on the first render only. After that, just render.
3. You do need to pass the component element as the thrid parameter during re-renders, but no re-capture any more.
4. Changes to patch required updates to render, unmount, hydrate, removeElement and updateElement.
5. Updated tests for changes.