markup
markup copied to clipboard
Release 1.0.0
✅ auto detect state usage and automatically handle template
✅ introduce effect to perform side-effects
✅ state only broadcasts when values change
✅ state updates are batched
✅ support for object attribute <button ${attrs} >...</button> which allows for dynamic attribute setting
✅ deprecates helper and Helper
✅ deprecates attr prefix and dotted attributes, e.g: class.active="...", style.primary="..." as now these can dynamically be set with injected function values
✅ effect to support a return value of any type for tracking
✅ optimize render and DOM elements creation where needed
✅ deprecates onDestroy. it can be provided as the return value of onMount
✅ introduces onMove to actions for when the template is moved
✅ calling lifecycles multiple times will no longer keep all callback function. only the last one will be used
✅ improves performance and internal logic with cached templates, easy cleanups, badged state updates
✅ changes event listeners from <div onclick="${fn}, ${opt}" /> to <div onclick="${[fn, opt]}" />
✅ changes mounted to isConnected
✅ changes nodes to childNodes
✅ introduces parentNode
✅ introduces insertAfter as a way to render the template
Deploy Preview for bfs-markup ready!
| Name | Link |
|---|---|
| Latest commit | 613830e393847f1d4c0ddd59636fa8b7b6cba9ce |
| Latest deploy log | https://app.netlify.com/sites/bfs-markup/deploys/674b9807de422900087f7086 |
| Deploy Preview | https://deploy-preview-17--bfs-markup.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.