26 ms·
The funny bit being react uses regular browser APIs for network requests! Nothing was even gained, just call fetch!
by com2kid 4y ago
The funny bit being react uses regular browser APIs for network requests! Nothing was even gained, just call fetch!
- kevlened 4y agoTrue! 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.
- bryanrasmussen 4y agoWhat 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.
- mwcampbell 4y agoI 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-programmers/ https://m.signalvnoise.com/integrated-systems-for-integrated...