Skip to content

Releases: ryansolid/dom-expressions

v0.10.0

Choose a tag to compare

@ryansolid ryansolid released this 15 Jun 05:34
  • Add Switch Control Flow
  • Simplify When Control Flow
  • Use existing nodes as markers for dynamic inserts in more scenarios

v0.9.0

Choose a tag to compare

@ryansolid ryansolid released this 25 May 08:28

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

Choose a tag to compare

@ryansolid ryansolid released this 07 May 08:07

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

Choose a tag to compare

@ryansolid ryansolid released this 22 Apr 09:36

Converted codebase to TypeScript.

v0.7.0

Choose a tag to compare

@ryansolid ryansolid released this 14 Apr 10:51

Breaking Change This release moves HyperScript out of the main package.

New Features

v0.6.0

Choose a tag to compare

@ryansolid ryansolid released this 08 Apr 02:38

Initial release of runtime separated from the Babel Plugin JSX DOM Expressions. This opens up potential for different Rendering APIs (JSX, HyperScript, Tagged Template Literal, etc..)