This repository has been archived by the owner on Sep 3, 2022. It is now read-only.
Releases: composi/core
Releases · composi/core
Version 2.7.5
Version 2.5.8
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
V2.5.6 Improved types for effects.js and union.js.
Version 2.5.0
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
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
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
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
Code cleanup. 1. General clean up. 2. Replaced for loops with while loops.
Version 0.9.3
v0.9.3 Minor update for readibility.
Version 0.9.2
v0.9.2 Added error checking for when user provides invalid container for ren…