Skip to content

Releases: atomicojs/atomico

Fix coexistence of DOM emulators in node - customElements

08 May 04:36
Compare
Choose a tag to compare
1.55.4

fix coexistence with other DOM emulators

Fix coexistence of DOM emulators in node

07 May 21:05
Compare
Choose a tag to compare

fix the use of htm as module

06 May 07:15
Compare
Choose a tag to compare

Deprecate export default for the module atomico/html

06 May 06:53
Compare
Choose a tag to compare

this to facilitate the optimization of modules by third-party tools

Fix CSSStyleSheet SSR

05 May 18:44
Compare
Choose a tag to compare
1.54.5

1.54.5

fix export for deno

05 May 05:17
Compare
Choose a tag to compare
1.54.4

fix export for deno

Internal wrapper for ssr, to fix compatibility with deno

05 May 05:14
Compare
Choose a tag to compare

Fix template

05 May 02:43
Compare
Choose a tag to compare
1.54.2

1.54.2

fix SSR renderer

04 May 21:06
Compare
Choose a tag to compare

undefined children generated an error before Array.flat

Add SSR support 🎉

04 May 05:04
Compare
Choose a tag to compare

SSR 🎉

Example

import "atomico/ssr";
import { html } from "atomico";
import "./components";

const dom = html`<my-component>
    <h1>SSR</h1>
</my-component>` ;

dom.render() // serialized html

Observations

  1. The support is distributed as a module, so the environment of use requires ESM module support.
  2. To hydrate the shadow DOM it is required that the browser support template[shadowroot=open].
  3. This support is early but is still being developed as part of the CORE, for alignment with the next Atomico versions.