Trader101
Trader101
Explore posts from servers
SSolidJS
Created by Trader101 on 7/28/2023 in #support
pass session via `<Outlet />`
Is it possible to pass session to outlet like this? It doesn't seem to work. I'm using solid-start alpha btw
export const { routeData, Page } = Sessionize(() => {
const session = useRouteData<typeof routeData>();
return (
<Show when={session()} keyed>
{s => <Outlet {...s} />}
</Show>
);
});

export default Page;
export const { routeData, Page } = Sessionize(() => {
const session = useRouteData<typeof routeData>();
return (
<Show when={session()} keyed>
{s => <Outlet {...s} />}
</Show>
);
});

export default Page;
5 replies
CDCloudflare Developers
Created by Trader101 on 5/21/2023 in #pages-help
Cannot set property crypto of #<Object> which has only a getter
I followed the procedure to add Cloudflare on solid-start ssr and I get this error on npm run dev. I also get solid-start dev version 0.2.26 (node:1844) ExperimentalWarning: The Ed25519 Web Crypto API algorithm is an experimental feature and might change at any time (Use node --trace-warnings ... to show where the warning was created) adapter cloudflare-pages (node:5676) ExperimentalWarning: The Ed25519 Web Crypto API algorithm is an experimental feature and might change at any time (Use node --trace-warnings ... to show where the warning was created)
3 replies
SSolidJS
Created by Trader101 on 5/6/2023 in #support
Flickering UI with solidstart
When I am on dark mode with tailwindcss and I navigate between routes for the first time, the theme is for a moment light before going dark. This is very bad for user experience. issue happens when: - first load - reloading page - navigating between routes for 1st time
97 replies