Skip to content

Commit 0e3e2b6

Browse files
LadyBluenotesatilafassinadanieljcafonsobirkskyum
authored
Solid Start Docs to docs.solidjs.com (#605)
Co-authored-by: Atila Fassina <atila@fassina.eu> Co-authored-by: Daniel Afonso <danieljcafonso@gmail.com> Co-authored-by: Birk Skyum <74932975+birkskyum@users.noreply.github.com>
1 parent 6c21741 commit 0e3e2b6

62 files changed

Lines changed: 2281 additions & 163 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

public/fonts/Geist-Bold.woff2

40.7 KB
Binary file not shown.

public/fonts/Geist-Light.woff2

39.4 KB
Binary file not shown.

public/fonts/Geist-Medium.woff2

40.1 KB
Binary file not shown.

public/fonts/Geist-Regular.woff2

39.1 KB
Binary file not shown.

public/fonts/Geist-SemiBold.woff2

41 KB
Binary file not shown.

public/fonts/lexend.txt

Lines changed: 0 additions & 93 deletions
This file was deleted.

public/fonts/lexend.woff2

-70.1 KB
Binary file not shown.

scripts/collections/index.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { createI18nEntries } from "../create-i18n-entries.mjs";
66
import { createI18nTree } from "../create-i18n-tree.mjs";
77

88
export const languages = ["pt-br"];
9-
const projects = ["solid-router"];
9+
const projects = ["solid-router", "solid-start"];
1010
export const COLLECTIONS_ROOT = "src/routes";
1111

1212
(async () => {

src/routes/reference/data.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"reactive-utilities",
1010
"rendering",
1111
"secondary-primitives",
12-
"store-utilities"
12+
"store-utilities",
13+
"server-utilities"
1314
]
1415
}

src/routes/reference/rendering/hydrate.mdx

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: hydrate
33
---
44

55
```ts
6-
function hydrate(fn: () => JSX.Element, node: MountableElement): () => void
6+
function hydrate(fn: () => JSX.Element, node: MountableElement, options?: { renderId?: string; owner?: unknown }): () => void
77

88
```
99

@@ -13,3 +13,12 @@ When initializing in the browser a page has already been server rendered.
1313
```ts
1414
const dispose = hydrate(App, document.getElementById("app"))
1515
```
16+
17+
## Parameters
18+
19+
| Prop | type | description |
20+
| -------------------- | ------------------ | ----------------------------------------------- |
21+
| fn | `() => JSX.Element`| Function that returns the application code. |
22+
| node | MountableElement | DOM Element to mount the application to |
23+
| options.renderId | string | |
24+
| options.owner | unknown | |

0 commit comments

Comments
 (0)