Joe Pea
onMount randomly not called
I'm still getting stuff not running. What I can confirm though is that if I make a small change to a file in dev mode, the HMR causes things to finally run and everything gets into place as expected.
Its just the initial load not working, but after I've triggered HMR the app goes ahead and works fine.
If I set
ssr: false
, no problem, so for now I've got a client-only app and technically I could just go without Solid Start altogether in this case.130 replies
Cannot build SSG
I'm guessing that if you made a
vite.resolve.alias
config, then you will also need to configure that for other cases. Vite is only for dev mode I believe. Maybe you can put an importmap
in your app to set the aliases for other modes.
Or better yet, don't use the alias for now, get it working with just relative paths first, then go from there.
The thing is, Solid Start is built on 3rd-party build tools, so it cannot guess everything you want to do for all tools based on the config for any one tool.
F.e., if you configure vite.resolve.alias, then you'll also need to configure paths
in tsconfig for TypeScript, etc, etc, etc.5 replies
onMount randomly not called
Not sure if this provides any good clue, but I was able to trigger effects not running with this:
https://github.com/solidjs/solid-start/issues/1614
130 replies
onMount randomly not called
I wonder if this is related to what I've been experiencing in https://discord.com/channels/722131463138705510/910635844119982080/1277514473611202581 and possibly https://discord.com/channels/722131463138705510/1273412699530858527 (EDIT: the second one seems like another issue)
130 replies
how to make SSG use dynamic client-side routing instead of full page refresh?
I just tried this, but still full page refresh:
https://github.com/lume/showcase/commit/9596c0c77af92ef4057263774b8c2570c88dd0e6
35 replies