Releases: atomicojs/atomico
Releases · atomicojs/atomico
Fix coexistence of DOM emulators in node - customElements
1.55.4 fix coexistence with other DOM emulators
Fix coexistence of DOM emulators in node
1.55.3 1.55.3
fix the use of htm as module
1.55.1 1.55.1
Deprecate export default for the module atomico/html
this to facilitate the optimization of modules by third-party tools
Fix CSSStyleSheet SSR
1.54.5 1.54.5
fix export for deno
1.54.4 fix export for deno
Internal wrapper for ssr, to fix compatibility with deno
1.54.3 internal wrapper for ssr
Fix template
1.54.2 1.54.2
fix SSR renderer
undefined children generated an error before Array.flat
Add SSR support 🎉
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
- The support is distributed as a module, so the environment of use requires ESM module support.
- To hydrate the shadow DOM it is required that the browser support
template[shadowroot=open]
. - This support is early but is still being developed as part of the CORE, for alignment with the next Atomico versions.