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
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