Fabian Hiller
Explore posts from serversValidating a field based on promise values min and max with yup and react form handler
I can't help you with that. But maybe my project Modular Forms and Valibot offers you an alternative way with SolidJS.
Modular Forms: https://modularforms.dev/
Valibot: https://valibot.dev/
3 replies
How to handle complex form?
Maybe my modular and type safe form library can help: https://modularforms.dev/
10 replies
How to set a cookie when using `createRouteData` or `createServerData$`?
@nksaraf what are your thoughts on this? If you're interested, I can take a look at the code on GitHub and create a PR. Cookies are not uncommon in data fetching, so I expect more people will run into this "problem" in the future.
14 replies
How to set a cookie when using `createRouteData` or `createServerData$`?
Is it possible to implement
createRouteData
and createServerData
similar to Remix, so that it makes no difference whether you return the values directly or via a Response
, e.g. with json()
? Otherwise unpacking the data in the component leads to a lot of boilerplate code. Especially with createRouteData
this would make the code more consistent and lead to a better DX.14 replies