3 ms·
There is a slight advantage of separation in frontend & backend - writing tests for an API-only backend is so easy. On the other hand, the frontend SPA still
by fouc 8y ago
There is a slight advantage of separation in frontend & backend - writing tests for an API-only backend is so easy. On the other hand, the frontend SPA still needs tests, and I have no idea how to make that trivial yet.
P.S. If you folks want a really small react-like SPA, I recommend either https://mithril.js.org https://mithril.js.org or https://riot.js.org https://riot.js.org
And you can avoid state management complexity by using a pattern like http://meiosis.js.org http://meiosis.js.org
- pas 8y agoTesting is easy in Angular. (Thanks to the everything is an object approach.) https://angular.io/guide/testing#component-class-testing https://angular.io/guide/testing#component-class-testing https://angular.io/guide/testing#service-tests https://angular.io/guide/testing#service-tests