This repository has been archived by the owner on Sep 3, 2022. It is now read-only.
Releases: composi/core
Releases · composi/core
Version 0.9.0
Updated how the run function handles state. 1. Previously a program's init was just an array assignment. Now its a function that returns a tuple of state and effect: init() { return [state, effect]} 2. Updated README to reflect changes. 3. Updated test for changes.
Version 0.8.6
Fixed onupdate bug. 1. Onupdate was not getting passed the previous props. Fxed.
Version 0.8.5
v0.8.5 Update dist build.
Version 0.8.1
Fixed export of mapEffect. 1. Moved mapEffect into separate file and fixed its export from index.js
Version 0.6.0
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.