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

React and OpenAPI are orthogonal things. You'd build a JavaScript/TypeScript library for talking to an API, not a React one.

(Generally, though it adds some friction unless you have HTTP servers with libraries to help you out, I prefer this approach whenever possible to GraphQL. Mostly because relying on frontend folks to inflict terrible damage to databases via wild abuse of resolvers is not my cup of tea, but as GraphQL tools become smarter I'm coming around on this a bit.)



Well, yeah, but OP claims doing REST client with react is something hard.




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

Search: