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

Releases: composi/core

Version 2.7.5

Choose a tag to compare

@rbiggs rbiggs released this 21 Dec 23:42
v2.7.5

Destructed union test.

Version 2.5.8

Choose a tag to compare

@rbiggs rbiggs released this 30 Oct 16:13
Update to vdom for onupdate hook.

1. Previous the onupdate hook always fired whether the props changed or not. Introduced a check to only fire onupdate when an element's props have changed.

Vesion 2.5.6

Choose a tag to compare

@rbiggs rbiggs released this 26 Oct 18:17
V2.5.6

Improved types for effects.js and union.js.

Version 2.5.0

Choose a tag to compare

@rbiggs rbiggs released this 18 Oct 20:01
Update for changes to state in runtime.

1. Runtime init function now return state without square brackes.
2. Update actions now return state without square brackets.
3. Test updated for changes to runtime.

Version 2.0.0

Choose a tag to compare

@rbiggs rbiggs released this 08 Oct 17:59
Updated runtime test.

1. Previous runtime tests were not passing due to changes in how subscriptions work. Updated them to pass.

Version 1.6.3

Choose a tag to compare

@rbiggs rbiggs released this 06 Jul 00:53
Minor updates to h, createVNode and patch functions.

1. Simplified childNodes assignment in h function.
2. Removed unnecessary parameter in createVNode call.
3. createVNode now has default values of null for key and flag parameters.
4. Updated tests to reflect changes in h function.
5. Instead of assigning default value to createVNode function inside its body, moved assignment as default value in the call signature itself.
6. Marked flag parameter as optional.

Version 1.6.1

Choose a tag to compare

@rbiggs rbiggs released this 07 Jun 14:20
Refined VNode comparison for better exists.

1. Created new property on container: previousVNode. This contains a clone of the previous VNode before patching. This means its element properties all have null values, same as a newly provided VNode would.
2. The patchElement function in vdom.js now check the container's previousVNode property to check with the provided VNode from render. If the two objects are identical, it exists. Before this didn't happen because the default vnode property on the container has references to DOM elements from the last patch.

Version 0.9.4

Choose a tag to compare

@rbiggs rbiggs released this 05 Nov 03:03
Code cleanup.

1. General clean up.
2. Replaced for loops with while loops.

Version 0.9.3

Choose a tag to compare

@rbiggs rbiggs released this 04 Nov 22:14
v0.9.3

Minor update for readibility.

Version 0.9.2

Choose a tag to compare

@rbiggs rbiggs released this 04 Nov 15:23
v0.9.2

Added error checking for when user provides invalid container for ren…