Releases: ryansolid/dom-expressions
v0.10.0
v0.9.0
Updates DOM Expressions to support Context API. This includes new Provide control flow and improved implicit Suspend control flow. To support these changes more methods are required by the library implementation, but it is completely opt in. This is a first version so anticipate improvements as we get feedback.
v0.8.0
Breaking Change
This release is a big one. This library no longer provides a factory function to create your runtime. Instead it generates your runtime from the cli. The reason for this change was the runtime could never be optimized for its consumer's purpose. Most notably returning an object from a factory could never be statically analysed. Now the runtime is Tree Shakeable meaning it is possible to only include the features you wish to use. Don't need Suspense or Portals, your Rollup or Webpack bundle doesn't need to include them. This means smaller bundles.
The way this works is automatically handled for the developer when used with Babel Plugin JSX DOM Expressions which compiler will analyse what runtime methods are used and only import those.
In addition, this release has reduced the insert code sharing more between basic expressions and control flow addressing some edge cases on normal insertion around Fragments.
v0.7.2
v0.7.0
Breaking Change This release moves HyperScript out of the main package.
New Features
- Introduces new Tagged Template Literal option with Lit DOM Expressions