Releases: Bloomca/veles
Release version 0.0.9
What's Changed
The only relevant bugfix is:
The rest are just docs:
- add docs about context and guides by @Bloomca in #63
- add external store guide by @Bloomca in #64
- add code comments by @Bloomca in #69
- add README.md for tests by @Bloomca in #70
- add components lifecycle guide by @Bloomca in #71
Full Changelog: 0.0.8...0.0.9
Release version 0.0.8
What's Changed
This is a pretty big release which changes the underlying rendering engine to be a 2 step process instead of one. While it makes it ~20% slower, it allows for Context and it is too important of a feature to not to have it.
If while working on the example app I decide that the performance hit is too big, I might revert the changes, but the library focuses on 2 things: performance and composability, so I am okay with small compromises. At the end of the day, updates are still granular, so a small performance hit should not be too hard in theory.
- handle boolean DOM attributes correctly by @Bloomca in #51
- allow dynamic adding and removing event listeners by @Bloomca in #52
- call unmount callbacks on entire Veles app removal by @Bloomca in #53
- allow to return
useValue/useValueSelectordirectly from components by @Bloomca in #54 - fix incorrect
unmountbehaviour withuseValuelogic by @Bloomca in #56 - Use value activate onmount by @Bloomca in #57
- do not track attributes value until mounted by @Bloomca in #58
useValueIteratorsubscribes only on mount by @Bloomca in #60- Fix mount state subscriptions check by @Bloomca in #61
- change rendering approach by @Bloomca in #62
- Add Context support
Full Changelog: 0.0.7...0.0.8
Release version 0.0.7
Release 0.0.6
What's Changed
Full Changelog: 0.0.5...0.0.6
Release 0.0.5
- Fix a bug with
trackValue, where it won't react when you switch to the initial value
Release 0.0.4
Add JSX type support, which should make the library mostly TypeScript compatible.
Some typing are still poor, but overall it should help a lot, especially when using state methods.
0.0.3
Release v0.0.3
- automatically register returned function in mount cb as unmount (#31)
- allow to have to no callback function in
useValue,useValueSelectoranduseAttribute(#29) - allow numbers as children in components (#28)
- allow plain values to be passed to setValue (#27)
- Handle
onMountcallbacks correctly when render conditionally (#26)