Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
7.0.0 source code.tar.gz | 2019-07-01 | 12.4 kB | |
7.0.0 source code.zip | 2019-07-01 | 15.1 kB | |
README.md | 2019-07-01 | 929 Bytes | |
Totals: 3 Items | 28.4 kB | 0 |
- Simplify
patch
usage (read the quickstart for details). - New signature:
patch(dom, vdom)
(no need to keep track of the old DOM anymore). - Revert to replacing/recycling the DOM node with the rendered VDOM.
- Remove
recycle
function as the behavior is now built-in. - Remove lifecycle events (see https://github.com/jorgebucaran/superfine/issues/167 and https://github.com/jorgebucaran/hyperapp/issues/717 for alternatives and discussion).
- Remove
xlink:*
support as SVG 2 now works in Safari (mostly). - Remove built-in
style
attribute-as-object support; use a string instead. If what you have is an object, build the style string yourself:js const styleToString = style => Object.keys(style).reduce( (str, key) => `${str}${key.replace(/[A-Z]/g, "-$&").toLowerCase()}:${style[key]};`, "" )