TaQuanMinhLong
Explore posts from serversAarktype
•Created by TaQuanMinhLong on 4/3/2025 in #questions
Arktype pros and cons
Hey, we all know how great arktype is, currently I'm about to convince my CTO to use arktype for new projects, is there any indefeasible points for Arktype to win the debate apart from what already found on the web? 😂
3 replies
Aarktype
•Created by TaQuanMinhLong on 4/2/2025 in #questions
Loose string schema
Does arktype have loose string support? though the schema can accept any string, the infered type can be something like
20 replies
Vite keeps loading the packages first before @solidjs/router
Hi, is there any way to tell vite to load my custom package (that uses solidjs router as dependency) after loading the solid router? I kept getting errors like
use-hooks must be called within Router
3 replies
Impossible to navigate to route that have any component using setSearchParams in createEffect
Hi, I know this seems not to be the right way to handle state, but could anyone take a look?
https://stackblitz.com/edit/solidjs-templates-v8bqor?file=src%2Froutes%2Fother.tsx
9 replies
solid router's Data API
I'm a little bit confused about createAsync with the load function
In the example of the GitHub repo, there's a cache fn to fetch data
Then we attached it to the load function of the Route
Then in the current route component, we have to again attach the fetch function to the create async
Then why can't we just attach to the create async only? Why are we attaching the function to both Route's load fn and create async? This kinda confused me
15 replies
Loading data into context
Hi what's the best practice to load data from server (like using prisma) into the context?
i did try some method like using
createServerData$
but seems like only if I call the getter function inside the JSX Element, then the fetcher will work, other wise it won't, the data.state
is just pending
, won't beready
2 replies