Coralite v0.29.1 Released

Coralite v0.29.1 is now available. This release introduces dynamic token replacement in client-side web components, enabling automatic and reactive template hydration, alongside formatting and consistency improvements to the testing suite.

Reactive Token Replacement in Imperative Web Components #

With this release, we have implemented reactive token replacement within CoraliteElement for imperative web components. This enables full client-side template string hydration. The component updates dynamically in response to changes in internal values or element attributes, managed via a debounced MutationObserver.

We have also added E2E tests to ensure that the initial token replacement runs correctly and that subsequent DOM updates trigger seamlessly upon state modifications.

Consistent Test Formatting #

The whitespace formatting in the reactive-token-parent test fixture has been standardized to ensure consistent outputs across different environments.

How to Upgrade #

To upgrade to the latest version, update your project dependencies:

bash
Code copied!
  npm install coralite@0.29.1
bash
Code copied!
  npm install coralite-scripts@0.29.1

Related posts

More blog posts

Start Building with Coralite!

Use the scaffolding script to get jump started into your next project with Coralite

Copied commandline!