Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In SvelteKit (don’t know about Next.js), this also makes for a nice, gracefully degrading JS-enabled form experience for the user, while always also working for those running script-less. You’ll automatically get partial validation, loading states, error handling, and so on, as opposed to API routes where you’ll need to do that on your own.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: