diff --git a/app.config.ts b/app.config.ts
index 79c16ac..4c80d7e 100644
--- a/app.config.ts
+++ b/app.config.ts
@@ -10,147 +10,146 @@ export default defineConfig(
},
{
title: "Solid.js v2",
- description: "Rough WIP docs for Solid 2.0.",
- editPath: "https://github.com/devagrawal09/solid-next-docs/tree/master/:path",
+ description: "Rough WIP docs for Solid 2.0.",
+ editPath:
+ "https://github.com/devagrawal09/solid-next-docs/tree/master/:path",
themeConfig: {
- sidebar: {
- items: [
- {
- title: "Getting Started",
- collapsed: true,
- items: [
- {
- title: "Overview",
- link: "/",
- },
- // {
- // title: "Quick Start",
- // link: "/quick-start",
- // },
- ],
- },
- {
- title: "Reactivity",
- collapsed: true,
- items: [
- {
- title: "createSignal",
- link: "/reactivity/createSignal",
- },
- {
- title: "createMemo",
- link: "/reactivity/createMemo",
- },
- {
- title: "createAsync",
- link: "/reactivity/createAsync",
- },
- {
- title: "Utilities",
- link: "/reactivity/utilities",
- },
- {
- title: "createEffect",
- link: "/reactivity/createEffect",
- },
- {
- title: "createRenderEffect",
- link: "/reactivity/createRenderEffect",
- },
- ],
- },
- {
- title: "Stores",
- collapsed: true,
- items: [
- {
- title: "createStore",
- link: "/stores/createStore",
- },
- {
- title: "createProjection",
- link: "/stores/createProjection",
- },
- {
- title: "Store Utilities",
- link: "/stores/store-utilities",
- },
- ],
- },
- {
- title: "Rendering",
- collapsed: true,
- items: [
- {
- title: "",
- link: "/rendering/show",
- },
- {
- title: "",
- link: "/rendering/for",
- },
- {
- title: "",
- link: "/rendering/repeat",
- },
- {
- title: "",
- link: "/rendering/suspense",
- },
- {
- title: "",
- link: "/rendering/error-boundary",
- },
- ],
- },
- {
- title: "Philosophy",
- collapsed: true,
- items: [
- {
- title: "Derived Reactivity",
- link: "/philosophy/derived-reactivity",
- },
- {
- title: "Lazy Signals",
- link: "/philosophy/lazy-signals",
- },
- {
- title: "Colorless Async",
- link: "/philosophy/colorless-async",
- },
- {
- title: "Automatic Batching",
- link: "/philosophy/automatic-batching",
- },
- ],
- },
- {
- title: "Migration",
- collapsed: true,
- items: [
- {
- title: "Migration Guide",
- link: "/migration",
- },
- {
- title: "Breaking Changes",
- link: "/breaking-changes",
- },
- ],
- },
- {
- title: "Development",
- collapsed: true,
- items: [
- {
- title: "Roadmap",
- link: "/roadmap",
- },
- ],
- },
- ],
- },
+ sidebar: [
+ {
+ title: "Getting Started",
+ collapsed: true,
+ items: [
+ {
+ title: "Overview",
+ link: "/",
+ },
+ // {
+ // title: "Quick Start",
+ // link: "/quick-start",
+ // },
+ ],
+ },
+ {
+ title: "Reactivity",
+ collapsed: true,
+ items: [
+ {
+ title: "createSignal",
+ link: "/reactivity/createSignal",
+ },
+ {
+ title: "createMemo",
+ link: "/reactivity/createMemo",
+ },
+ {
+ title: "createAsync",
+ link: "/reactivity/createAsync",
+ },
+ {
+ title: "Utilities",
+ link: "/reactivity/utilities",
+ },
+ {
+ title: "createEffect",
+ link: "/reactivity/createEffect",
+ },
+ {
+ title: "createRenderEffect",
+ link: "/reactivity/createRenderEffect",
+ },
+ ],
+ },
+ {
+ title: "Stores",
+ collapsed: true,
+ items: [
+ {
+ title: "createStore",
+ link: "/stores/createStore",
+ },
+ {
+ title: "createProjection",
+ link: "/stores/createProjection",
+ },
+ {
+ title: "Store Utilities",
+ link: "/stores/store-utilities",
+ },
+ ],
+ },
+ {
+ title: "Rendering",
+ collapsed: true,
+ items: [
+ {
+ title: "",
+ link: "/rendering/show",
+ },
+ {
+ title: "",
+ link: "/rendering/for",
+ },
+ {
+ title: "",
+ link: "/rendering/repeat",
+ },
+ {
+ title: "",
+ link: "/rendering/suspense",
+ },
+ {
+ title: "",
+ link: "/rendering/error-boundary",
+ },
+ ],
+ },
+ {
+ title: "Philosophy",
+ collapsed: true,
+ items: [
+ {
+ title: "Derived Reactivity",
+ link: "/philosophy/derived-reactivity",
+ },
+ {
+ title: "Lazy Signals",
+ link: "/philosophy/lazy-signals",
+ },
+ {
+ title: "Colorless Async",
+ link: "/philosophy/colorless-async",
+ },
+ {
+ title: "Automatic Batching",
+ link: "/philosophy/automatic-batching",
+ },
+ ],
+ },
+ {
+ title: "Migration",
+ collapsed: true,
+ items: [
+ {
+ title: "Migration Guide",
+ link: "/migration",
+ },
+ {
+ title: "Breaking Changes",
+ link: "/breaking-changes",
+ },
+ ],
+ },
+ {
+ title: "Development",
+ collapsed: true,
+ items: [
+ {
+ title: "Roadmap",
+ link: "/roadmap",
+ },
+ ],
+ },
+ ],
},
}
)
diff --git a/bun.lock b/bun.lock
index 8e6b703..86142aa 100644
--- a/bun.lock
+++ b/bun.lock
@@ -4,7 +4,7 @@
"": {
"name": "example-basic",
"dependencies": {
- "@kobalte/solidbase": "^0.2.10",
+ "@kobalte/solidbase": "^0.2.16",
"@solidjs/meta": "^0.29.4",
"@solidjs/router": "^0.15.0",
"@solidjs/start": "^1.1.0",
@@ -225,7 +225,7 @@
"@kobalte/core": ["@kobalte/core@0.13.9", "", { "dependencies": { "@floating-ui/dom": "^1.5.1", "@internationalized/date": "^3.4.0", "@internationalized/number": "^3.2.1", "@kobalte/utils": "^0.9.1", "@solid-primitives/props": "^3.1.8", "@solid-primitives/resize-observer": "^2.0.26", "solid-presence": "^0.1.8", "solid-prevent-scroll": "^0.1.4" }, "peerDependencies": { "solid-js": "^1.8.15" } }, "sha512-TkeSpgNy7I5k8jwjqT9CK3teAxN0aFb3yyL9ODb06JVYMwXIk+UKrizoAF1ahLUP85lKnxv44B4Y5cXkHShgqw=="],
- "@kobalte/solidbase": ["@kobalte/solidbase@0.2.10", "", { "dependencies": { "@alloc/quick-lru": "^5.2.0", "@bprogress/core": "^1.1.18", "@docsearch/css": "^3.6.2", "@docsearch/js": "^3.6.2", "@expressive-code/core": "^0.40.2", "@expressive-code/plugin-collapsible-sections": "^0.40.2", "@expressive-code/plugin-frames": "^0.40.2", "@expressive-code/plugin-line-numbers": "^0.40.2", "@fontsource-variable/inter": "^5.1.1", "@fontsource-variable/jetbrains-mono": "^5.1.2", "@fontsource-variable/lexend": "^5.1.2", "@kobalte/core": "^0.13.9", "@mdx-js/mdx": "^3.1.0", "@solid-primitives/clipboard": "^1.5.10", "@solid-primitives/context": "^0.2.3", "@solid-primitives/event-listener": "^2.3.3", "@solid-primitives/keyboard": "^1.2.8", "@solid-primitives/media": "^2.2.9", "@solid-primitives/platform": "^0.1.2", "@solid-primitives/scroll": "^2.0.23", "@solid-primitives/storage": "^4.3.1", "@solidjs/meta": "^0.29.4", "@solidjs/router": "^0.15.3", "cross-spawn": "^7.0.3", "esast-util-from-js": "^2.0.1", "estree-util-value-to-estree": "^3.1.2", "expressive-code-twoslash": "=0.4.0", "gray-matter": "^4.0.3", "hastscript": "^9.0.0", "mdast-util-find-and-replace": "^3.0.1", "mdast-util-mdx-jsx": "^3.2.0", "mdast-util-toc": "^7.1.0", "rehype-autolink-headings": "^7.1.0", "rehype-expressive-code": "^0.40.2", "rehype-raw": "^7.0.0", "rehype-slug": "^6.0.0", "remark-directive": "^3.0.0", "remark-frontmatter": "^5.0.0", "remark-gfm": "^4.0.0", "remark-mdx-frontmatter": "^5.0.0", "solid-mdx": "^0.0.7", "typescript": "^5.6.3", "unified": "^11.0.5", "unist": "^0.0.1", "unist-builder": "^4.0.0", "unist-util-visit": "^5.0.0", "unplugin-auto-import": "^19.1.0", "unplugin-icons": "^22.1.0" }, "peerDependencies": { "@solidjs/start": "^1.0.8", "solid-js": "^1.9.1", "vinxi": "^0.5.3", "vite": "^6.1.1" } }, "sha512-Do0CpIDrgfZd09Ed+MNbnFDbOyRAzD1TfLjkdAF58bk2iwewlfXvCWaa3GYkNBOgEw0IbZdFCvmOD65P/ZtHSg=="],
+ "@kobalte/solidbase": ["@kobalte/solidbase@0.2.16", "", { "dependencies": { "@alloc/quick-lru": "^5.2.0", "@bprogress/core": "^1.1.18", "@docsearch/css": "^3.6.2", "@docsearch/js": "^3.6.2", "@expressive-code/core": "^0.40.2", "@expressive-code/plugin-collapsible-sections": "^0.40.2", "@expressive-code/plugin-frames": "^0.40.2", "@expressive-code/plugin-line-numbers": "^0.40.2", "@fontsource-variable/inter": "^5.1.1", "@fontsource-variable/jetbrains-mono": "^5.1.2", "@fontsource-variable/lexend": "^5.1.2", "@kobalte/core": "^0.13.9", "@mdx-js/mdx": "^3.1.0", "@solid-primitives/clipboard": "^1.5.10", "@solid-primitives/context": "^0.2.3", "@solid-primitives/event-listener": "^2.3.3", "@solid-primitives/keyboard": "^1.2.8", "@solid-primitives/media": "^2.2.9", "@solid-primitives/platform": "^0.1.2", "@solid-primitives/scroll": "^2.0.23", "@solid-primitives/storage": "^4.3.1", "@solidjs/meta": "^0.29.4", "@solidjs/router": "^0.15.3", "cross-spawn": "^7.0.3", "esast-util-from-js": "^2.0.1", "estree-util-value-to-estree": "^3.1.2", "expressive-code-twoslash": "=0.4.0", "gray-matter": "^4.0.3", "hastscript": "^9.0.0", "mdast-util-find-and-replace": "^3.0.1", "mdast-util-mdx-jsx": "^3.2.0", "mdast-util-toc": "^7.1.0", "rehype-autolink-headings": "^7.1.0", "rehype-expressive-code": "^0.40.2", "rehype-raw": "^7.0.0", "rehype-slug": "^6.0.0", "remark-directive": "^3.0.0", "remark-frontmatter": "^5.0.0", "remark-gfm": "^4.0.0", "solid-mdx": "^0.0.7", "toml": "^3.0.0", "typescript": "^5.6.3", "unified": "^11.0.5", "unist": "^0.0.1", "unist-builder": "^4.0.0", "unist-util-mdx-define": "^1.1.2", "unist-util-visit": "^5.0.0", "unplugin-auto-import": "^19.1.0", "unplugin-icons": "^22.1.0", "yaml": "^2.8.0" }, "peerDependencies": { "@solidjs/start": "^1.0.8", "solid-js": "^1.9.1", "vinxi": "^0.5.3", "vite": "^6.1.1" } }, "sha512-WRvGfPTVkiYAMGw19GKq+bswQ4UbJoL2qzdUrkNNNW+JorQbeENk3TsVq4RdE9ePFHvV9OnDt01g8CzmAgDM8g=="],
"@kobalte/utils": ["@kobalte/utils@0.9.1", "", { "dependencies": { "@solid-primitives/event-listener": "^2.2.14", "@solid-primitives/keyed": "^1.2.0", "@solid-primitives/map": "^0.4.7", "@solid-primitives/media": "^2.2.4", "@solid-primitives/props": "^3.1.8", "@solid-primitives/refs": "^1.0.5", "@solid-primitives/utils": "^6.2.1" }, "peerDependencies": { "solid-js": "^1.8.8" } }, "sha512-eeU60A3kprIiBDAfv9gUJX1tXGLuZiKMajUfSQURAF2pk4ZoMYiqIzmrMBvzcxP39xnYttgTyQEVLwiTZnrV4w=="],
@@ -1461,8 +1461,6 @@
"remark-mdx": ["remark-mdx@3.1.0", "", { "dependencies": { "mdast-util-mdx": "^3.0.0", "micromark-extension-mdxjs": "^3.0.0" } }, "sha512-Ngl/H3YXyBV9RcRNdlYsZujAmhsxwzxpDzpDEhFBVAGthS4GDgnctpDjgFl/ULx5UEDzqtW1cyBSNKqYYrqLBA=="],
- "remark-mdx-frontmatter": ["remark-mdx-frontmatter@5.1.0", "", { "dependencies": { "@types/mdast": "^4.0.0", "estree-util-value-to-estree": "^3.0.0", "toml": "^3.0.0", "unified": "^11.0.0", "unist-util-mdx-define": "^1.0.0", "yaml": "^2.0.0" } }, "sha512-F2l+FydK/QVwYMC4niMYl4Kh83TIfoR4qV9ekh/riWRakTTyjcLLyKTBo9fVgEtOmTEfIrqWwiYIm42+I5PMfQ=="],
-
"remark-parse": ["remark-parse@11.0.0", "", { "dependencies": { "@types/mdast": "^4.0.0", "mdast-util-from-markdown": "^2.0.0", "micromark-util-types": "^2.0.0", "unified": "^11.0.0" } }, "sha512-FCxlKLNGknS5ba/1lmpYijMUzX2esxW5xQqjWxw2eHFfS2MSdaHVINFmhjo+qN1WhZhNimq0dZATN9pH0IDrpA=="],
"remark-rehype": ["remark-rehype@11.1.2", "", { "dependencies": { "@types/hast": "^3.0.0", "@types/mdast": "^4.0.0", "mdast-util-to-hast": "^13.0.0", "unified": "^11.0.0", "vfile": "^6.0.0" } }, "sha512-Dh7l57ianaEoIpzbp0PC9UKAdCSVklD8E5Rpw7ETfbTl3FqcOOgq5q2LVDhgGCkaBv7p24JXikPdvhhmHvKMsw=="],
@@ -1775,7 +1773,7 @@
"yallist": ["yallist@3.1.1", "", {}, "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g=="],
- "yaml": ["yaml@2.7.1", "", { "bin": { "yaml": "bin.mjs" } }, "sha512-10ULxpnOCQXxJvBgxsn9ptjq6uviG/htZKk9veJGhlqn3w/DxQ631zFF+nlQXLwmImeS5amR2dl2U8sg6U9jsQ=="],
+ "yaml": ["yaml@2.8.0", "", { "bin": { "yaml": "bin.mjs" } }, "sha512-4lLa/EcQCB0cJkyts+FpIRx5G/llPxfP6VQU5KByHEhLxY3IJCH0f0Hy1MHI8sClTvsIb8qwRJ6R/ZdlDJ/leQ=="],
"yargs": ["yargs@17.7.2", "", { "dependencies": { "cliui": "^8.0.1", "escalade": "^3.1.1", "get-caller-file": "^2.0.5", "require-directory": "^2.1.1", "string-width": "^4.2.3", "y18n": "^5.0.5", "yargs-parser": "^21.1.1" } }, "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w=="],
diff --git a/package.json b/package.json
index 859c793..c61ea1f 100644
--- a/package.json
+++ b/package.json
@@ -8,7 +8,7 @@
"version": "vinxi version"
},
"dependencies": {
- "@kobalte/solidbase": "^0.2.10",
+ "@kobalte/solidbase": "^0.2.16",
"@solidjs/meta": "^0.29.4",
"@solidjs/router": "^0.15.0",
"@solidjs/start": "^1.1.0",
diff --git a/src/routes/breaking-changes.mdx b/src/routes/breaking-changes.mdx
index 26c8077..76b2cc1 100644
--- a/src/routes/breaking-changes.mdx
+++ b/src/routes/breaking-changes.mdx
@@ -34,7 +34,7 @@ Solid 2.x
```
-Note: Attributes in `XML` space, such `SVG` are still case-sensitive per specification.
+Note: Attributes in `XML` space, such as `SVG` are still case-sensitive per specification.
### Properties
@@ -73,7 +73,6 @@ Solid represents Boolean Attribute using `boolean`.
Note: It has to be `boolean`.
`truthy` and `falsy` won't work.
-[`bool:`](https://docs.solidjs.com/reference/jsx-attributes/bool) namespace can be used in that case.
### Enumerated Attributes
@@ -122,6 +121,10 @@ type ClassList =
>;
```
+### Deprecated Namespaces
+
+`bool:` and `attr:` namespaces became superflous and have been removed.
+
### Event Handlers
Lowercase event handlers were supported but not encouraged.
diff --git a/src/routes/index.mdx b/src/routes/index.mdx
index b784a65..81b0f77 100644
--- a/src/routes/index.mdx
+++ b/src/routes/index.mdx
@@ -8,8 +8,6 @@ Solid v2 is a significant upgrade to Solid's reactivity system. It introduces a
Source: [solid-next-docs](https://github.com/devagrawal09/solid-next-docs)
-Solid 2.0 is experimentally available in [`@solidjs/signals`](https://github.com/solidjs/signals):
-
```package-install
-@solidjs/signals
-```
\ No newline at end of file
+solid-js@2.0.0-experimental.5
+```