@octanejs/cli 0.0.6 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@octanejs/cli",
3
- "version": "0.0.6",
3
+ "version": "0.0.8",
4
4
  "type": "module",
5
5
  "engines": {
6
6
  "node": ">=22.22.2"
@@ -593,12 +593,12 @@ export const indexHtml = (mode) => (mode === 'fullstack' ? SSR_INDEX_HTML : SPA_
593
593
  /**
594
594
  * The client bootstrap, `spa` only. `render(App)` is the body-and-props
595
595
  * overload, which keeps the entry plain TypeScript with no JSX pragma to carry.
596
+ * Chaining the disposable mount lets eligible builds omit reusable-root machinery.
596
597
  */
597
598
  export const clientEntry = `import { createRoot } from "octane";
598
599
  import { App } from "./App.tsrx";
599
600
 
600
- const root = createRoot(document.getElementById("root")!);
601
- root.render(App);
601
+ createRoot(document.getElementById("root")!).render(App);
602
602
  `;
603
603
 
604
604
  /**