3 ms·
> it handles both server side functionality (calls to db, third-party APIs...) as well as the frontend code in a single file. Blitz JS does this to an extent,
by vosper 5y ago
> it handles both server side functionality (calls to db, third-party APIs...) as well as the frontend code in a single file.
Blitz JS does this to an extent, by magicking away the API and letting you right your queries in your front-end code. It actually works really well, and it's quite a nice dev experience once you get used to it. My favourite bit is writing my zod schemas and having them validate (with feedback in the form) on the frontend, and also on the backend.
- aarpmcgee 5y agoAny chance you could share an example in a codesandbox? I realize that might be asking a lot, so no worries, but I'm super curious to see it.