Brendonovich
Brendonovich
Explore posts from servers
SSolidJS
Created by Hussein on 3/31/2025 in #support
preload fonts in start
preloading that many fonts at once will probably affect your load times
40 replies
SSolidJS
Created by Hussein on 3/31/2025 in #support
preload fonts in start
do a prod build to find out if it actually works
40 replies
SSolidJS
Created by Hussein on 3/31/2025 in #support
preload fonts in start
vinxi thing or something
40 replies
SSolidJS
Created by Hussein on 3/31/2025 in #support
preload fonts in start
i don't think u can avoid fout in dev
40 replies
SSolidJS
Created by Hussein on 3/31/2025 in #support
preload fonts in start
is that dev or prod?
40 replies
SSolidJS
Created by Hussein on 3/31/2025 in #support
preload fonts in start
No description
40 replies
SSolidJS
Created by Hussein on 3/31/2025 in #support
preload fonts in start
preload links, see https://solidbase.dev/
40 replies
SSolidJS
Created by Hussein on 3/31/2025 in #support
preload fonts in start
definitely wouldn't recomend that
40 replies
SSolidJS
Created by Hussein on 3/31/2025 in #support
preload fonts in start
the others are for more exotic character afaict
40 replies
SSolidJS
Created by Hussein on 3/31/2025 in #support
preload fonts in start
we just preload these ones
40 replies
SSolidJS
Created by Hussein on 3/31/2025 in #support
preload fonts in start
ehh we just default to the latin standard/normal-wght ones
40 replies
SSolidJS
Created by Hussein on 3/31/2025 in #support
preload fonts in start
each fontsource css file contains like 5 font files, u probs don't need all of them preloaded tho
40 replies
SSolidJS
Created by Hussein on 3/31/2025 in #support
preload fonts in start
one tag per font file, there's a few attributes u need for each link. i can't remember them
40 replies
SSolidJS
Created by Hussein on 3/31/2025 in #support
preload fonts in start
we import the fontsource css normally but only preload specific font files
40 replies
SSolidJS
Created by Hussein on 3/31/2025 in #support
preload fonts in start
you can get the url of the specific fonts you want to preload with ?url imports, it's what we do in solidbase
40 replies
SSolidJS
Created by Hussein on 3/31/2025 in #support
preload fonts in start
add <link rel="preload"> elements to entry-server
40 replies
SSolidJS
Created by all_is_source_energy on 3/30/2025 in #support
API w/o File Routes Component Possible?!
You can create a catchall api route and forward requests to an in-code router like express or hono if you want
6 replies
SSolidJS
Created by sean on 3/28/2025 in #support
Clarification on createAsync and Suspense behavior
Yeah this is because id is modified within a transition, so the Suspense shows its previous data instead of the fallback. You can wrap the update to offset in startTransition and the same thing should happen
31 replies
SSolidJS
Created by quangnguyen1311 on 3/28/2025 in #support
Deploy SolidStart with cluster?
Serverless providers like Vercel and Netlify are kinda like big clusters anyway haha, just multiple machines instead of multiple processes
6 replies
SSolidJS
Created by quangnguyen1311 on 3/27/2025 in #support
SSR doesn't auto fetching data when CSR
I wouldn't expect it to have an effect on the loading behaviour (unless it's the only place you call data())
13 replies