Hacker News new | ask | show | jobs
by com2kid 1471 days ago
The funny bit being react uses regular browser APIs for network requests! Nothing was even gained, just call fetch!
1 comments

True! Though the funny bit is you don't need an API at all (at least not a json-driven one). A form post is even simpler.
What if the API she wants to call doesn't have a form based version?

Suddenly she needs to change stuff on both backend and frontend, and she might only be allowed to touch one of those ends.

I think the best solution to this is to eliminate the division of labor between back-end and front-end, for the majority of applications that don't actually require deep specialization in either. As DHH put it, integrated systems for integrated programmers [1].

[1]: https://m.signalvnoise.com/integrated-systems-for-integrated...