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

Releases: composi/core

Version 0.9.0

04 Nov 00:11
Compare
Choose a tag to compare
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

02 Nov 15:34
Compare
Choose a tag to compare
Fixed onupdate bug.

1. Onupdate was not getting passed the previous props. Fxed.

Version 0.8.5

02 Nov 06:55
Compare
Choose a tag to compare
v0.8.5

Update dist build.

Version 0.8.1

29 Oct 21:43
Compare
Choose a tag to compare
Fixed export of mapEffect.

1. Moved mapEffect into separate file and fixed its export from index.js

Version 0.6.0

09 Oct 21:29
Compare
Choose a tag to compare
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.