3 ms·
Using the traditional approach on a pure CRUD app, your server transforms form inputs to inserts, page requests to queries, and query results to HTML. Each of t
by jtolmar 9y ago
Using the traditional approach on a pure CRUD app, your server transforms form inputs to inserts, page requests to queries, and query results to HTML. Each of these transforms can be pure functions, and all the state updates can be handled by a boring database.
With pure functional components being one of the few ways to make code actually less complex, and handing things off to boring libraries being another.
- brucephillips 9y agoAlmost all of this is true with single page apps, though. The only added complexity is you have to maintain a frontend state cache (e.g. Redux).