ensi
ensi
SSolidJS
Created by ensi on 9/28/2024 in #support
null error
it's pointing to the place where this error is thrown (basically library code with zero context)
7 replies
SSolidJS
Created by ensi on 9/28/2024 in #support
null error
error without error
7 replies
SSolidJS
Created by ensi on 9/21/2024 in #support
Window freezes in dev mode
I didn't find anything that can be it. bundle is stable in production build, but freezes in dev mode after hot reload sometimes. gonna profile it, maybe I'll find something
9 replies
SSolidJS
Created by ensi on 9/21/2024 in #support
Window freezes in dev mode
the issue is still relevant
9 replies
SSolidJS
Created by ensi on 9/21/2024 in #support
Window freezes in dev mode
strangy
9 replies
SSolidJS
Created by ensi on 9/21/2024 in #support
Window freezes in dev mode
it also fixes after server restart
9 replies
SSolidJS
Created by ensi on 9/21/2024 in #support
Window freezes in dev mode
No description
9 replies
SSolidJS
Created by ensi on 9/21/2024 in #support
Window freezes in dev mode
{
"name": "example-bare",
"type": "module",
"scripts": {
"dev": "vinxi dev",
"build": "vinxi build",
"start": "vinxi start",
"server": "bun server.ts"
},
"dependencies": {
"@kobalte/core": "^0.13.6",
"@solidjs/meta": "^0.29.4",
"@solidjs/router": "^0.14.3",
"@solidjs/start": "^1.0.6",
"@supabase/supabase-js": "^2.45.4",
"@tanstack/solid-form": "^0.29.2",
"@tanstack/zod-form-adapter": "^0.29.2",
"@types/lodash": "^4.17.7",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"lodash": "^4.17.21",
"lucide-solid": "^0.439.0",
"solid-js": "^1.8.18",
"tailwind-merge": "^2.5.2",
"tailwindcss-animate": "^1.0.7",
"vinxi": "^0.4.1",
"zod": "^3.23.8"
},
"engines": {
"node": ">=18"
},
"devDependencies": {
"autoprefixer": "^10.4.20",
"postcss": "^8.4.45",
"tailwindcss": "^3.4.10"
}
}
{
"name": "example-bare",
"type": "module",
"scripts": {
"dev": "vinxi dev",
"build": "vinxi build",
"start": "vinxi start",
"server": "bun server.ts"
},
"dependencies": {
"@kobalte/core": "^0.13.6",
"@solidjs/meta": "^0.29.4",
"@solidjs/router": "^0.14.3",
"@solidjs/start": "^1.0.6",
"@supabase/supabase-js": "^2.45.4",
"@tanstack/solid-form": "^0.29.2",
"@tanstack/zod-form-adapter": "^0.29.2",
"@types/lodash": "^4.17.7",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"lodash": "^4.17.21",
"lucide-solid": "^0.439.0",
"solid-js": "^1.8.18",
"tailwind-merge": "^2.5.2",
"tailwindcss-animate": "^1.0.7",
"vinxi": "^0.4.1",
"zod": "^3.23.8"
},
"engines": {
"node": ">=18"
},
"devDependencies": {
"autoprefixer": "^10.4.20",
"postcss": "^8.4.45",
"tailwindcss": "^3.4.10"
}
}
9 replies
SSolidJS
Created by ensi on 9/17/2024 in #support
(!) Failed to retrieve local session state from cookies after a successful session refresh
I figured it out myself. The issue was in bootstrap call at entry-client.tsx:
// @refresh reload
import { mount, StartClient } from "@solidjs/start/client";
import { bootstrapClient } from "./app/client/bootstrap";

bootstrapClient(); // this

mount(() => <StartClient />, document.getElementById("app")!);
// @refresh reload
import { mount, StartClient } from "@solidjs/start/client";
import { bootstrapClient } from "./app/client/bootstrap";

bootstrapClient(); // this

mount(() => <StartClient />, document.getElementById("app")!);
This function simply wraps another function call (which wraps this...), but I don't understand why it affects Solid or Solid Start at all:
import SuperTokens from "supertokens-web-js";
import Session from "supertokens-web-js/recipe/session";
import ThirdParty from "supertokens-web-js/recipe/thirdparty";
import EmailPassword from "supertokens-web-js/recipe/emailpassword";

export const initSupertokensClient = () => {
// this
SuperTokens.init({
appInfo: {
apiDomain: import.meta.env.VITE_HOST,
apiBasePath: "/auth",
appName: "ficlib-web",
},
recipeList: [Session.init(), EmailPassword.init(), ThirdParty.init()],
});
};
import SuperTokens from "supertokens-web-js";
import Session from "supertokens-web-js/recipe/session";
import ThirdParty from "supertokens-web-js/recipe/thirdparty";
import EmailPassword from "supertokens-web-js/recipe/emailpassword";

export const initSupertokensClient = () => {
// this
SuperTokens.init({
appInfo: {
apiDomain: import.meta.env.VITE_HOST,
apiBasePath: "/auth",
appName: "ficlib-web",
},
recipeList: [Session.init(), EmailPassword.init(), ThirdParty.init()],
});
};
6 replies
SSolidJS
Created by ensi on 9/17/2024 in #support
(!) Failed to retrieve local session state from cookies after a successful session refresh
No description
6 replies
SSolidJS
Created by ensi on 9/17/2024 in #support
(!) Failed to retrieve local session state from cookies after a successful session refresh
firefox acts the same
6 replies
SSolidJS
Created by ensi on 9/17/2024 in #support
(!) Failed to retrieve local session state from cookies after a successful session refresh
no extension are installed. I'm using latest chromium from AUR
6 replies
SSolidJS
Created by ensi on 9/13/2024 in #support
Cannot call server function outside of a request
oh ok, tysm
12 replies
SSolidJS
Created by ensi on 9/13/2024 in #support
Cannot call server function outside of a request
is there any trpc examples so I can understand how segregation works?
12 replies
SSolidJS
Created by ensi on 9/13/2024 in #support
Cannot call server function outside of a request
looks boilerplaty but ok
12 replies
SSolidJS
Created by ensi on 9/13/2024 in #support
Cannot call server function outside of a request
so it won't leak in client if I import this module only in entry-server?
12 replies
SSolidJS
Created by ensi on 9/8/2024 in #support
Hydration mismatch when trying to reference slot element outside of JSX
but I'm gonna add this as well
25 replies
SSolidJS
Created by ensi on 9/8/2024 in #support
Hydration mismatch when trying to reference slot element outside of JSX
layout won't change so it shouldn't be reactive
25 replies
SSolidJS
Created by ensi on 9/8/2024 in #support
Hydration mismatch when trying to reference slot element outside of JSX
thanks
25 replies
SSolidJS
Created by ensi on 9/8/2024 in #support
Hydration mismatch when trying to reference slot element outside of JSX
this is a bit unintuitive, but I'm starting to understand
25 replies