Replies: 1 comment 1 reply
-
Thanks @scil! That's an interesting project I haven't seen before. Not sure if we can use that approach though. Zod is needed primary for runtime validation. Types are nice secondary bonus.
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
midway "Using React Hooks to develop the back-end ". Like blitz, it uses http request to replace back-end functions which need context info like req, res.
blitz use
useQuery
useMutation
to make context available, while midway uses a more simple method which provide context not by functions arguments , but by a react-hook-like approach.Pros: more simple and user-friendly; no zod like tools to ensure type safety, plain ts is enouth.
Beta Was this translation helpful? Give feedback.
All reactions