Skip to content

Commit

Permalink
LA_TEMP solid-devtools
Browse files Browse the repository at this point in the history
  • Loading branch information
lourot committed Oct 23, 2023
1 parent 9b276ac commit 7bf424a
Show file tree
Hide file tree
Showing 3 changed files with 214 additions and 0 deletions.
211 changes: 211 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions vike-solid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"bumpp": "^9.2.0",
"rollup": "^3.29.4",
"rollup-plugin-dts": "^6.0.2",
"solid-devtools": "^0.27.7",
"solid-js": "^1.7.12",
"tslib": "^2.6.2",
"typescript": "^5.2.2",
Expand Down
2 changes: 2 additions & 0 deletions vike-solid/renderer/+onRenderClient.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import type { PageContextClient } from "vike/types";
import { getPageElement } from "./getPageElement";
import { createStore, reconcile } from "solid-js/store";

import "solid-devtools/setup"; // LA_TEMP

const [pageContextStore, setPageContext] = createStore<PageContextClient>(
{} as PageContextClient
);
Expand Down

0 comments on commit 7bf424a

Please sign in to comment.