Releases: HereIsKevin/fluid
Releases · HereIsKevin/fluid
0.5.0
Added
- Fully keyed arrangements of templates 🎉
- Templates are now swapped properly
- Updating arrangements should be faster now
Changed
- Much smaller NPM package 🔧
- Benchmark images are now removed
- Packaged build is over 500 KB smaller now
- Removed updater binding checks 🔥
- Significantly reduces build size
- Faster template instantiation and binding
- Vaguer error messages for edge cases
0.4.0
Added
- Keyed arrangements of templates 😱
- Allows for efficient and correct updating of sequences
- Faster for removals and insertion in between sequences
- Just pass
[key, template]
s with astring
ornumber
key
- Property updaters for elements 🎉
- Allows easy access to properties like
value
on<input>
- Just add a
.
before the property name to access it
- Allows easy access to properties like
- Reference updaters for elements 🚀
- Allows easy access to actual nodes in the DOM
- Just pass a
(node: Node) => void
as theref
attribute - Updaters called only when necessary with node as parameter
- Style updaters for elements 🔥
- Allows easy and efficient partial updates for styles
- Just pass an object to the
style
attribute
Changed
- Slightly larger bundle at under 2 KB 😢
- Caused by the addition of keyed arrangements
- Only slightly larger than before at around 1.75 KB
0.3.0
Added
- New updater-based renderer 🎉
- Much faster template instantiation
- Much faster startup time
- Slightly faster updates while rendering
- Slightly lower memory usage
- New non-keyed benchmarks 🔥
Changed
- Templates with same strings must have same value types 👌
- Caused by improved caching of templates
- Should not affect most use cases
- Renderer uses less marker comments 🔧
- Markers for text interpolation removed
- Removed redundant separators in sequences
0.2.0
Initial release of Fluid 💧. Install using npm install @hereiskevin/fluid
.
0.1.0
Initial private release of Fluid 💧. No builds are available.