You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some projects ppl need a universal API either way so it'd be super cool if there's a way to use an RPC like hono or Open API specs to generate next-safe-action hooks.
Currently I'd use hono's rpc in a next-safe-action to get the great DX for client side mutations. It's kinda repetitive though so I was curious if other devs would find this useful ? 🤔
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I saw someone creating this cool codegen library for turning OpenApi specs into tanstack query hooks.
https://github.com/7nohe/openapi-react-query-codegen
For some projects ppl need a universal API either way so it'd be super cool if there's a way to use an RPC like hono or Open API specs to generate next-safe-action hooks.
Currently I'd use hono's rpc in a next-safe-action to get the great DX for client side mutations. It's kinda repetitive though so I was curious if other devs would find this useful ? 🤔
Beta Was this translation helpful? Give feedback.
All reactions