3 ms·
lol. Carson is obviously aware of the criticisms he faces. The best one is the "Duplicating (Or More!) Your APIs" How is this a problem? The backend would be
by masfoobar 2y ago
lol. Carson is obviously aware of the criticisms he faces.
The best one is the "Duplicating (Or More!) Your APIs"
How is this a problem?
The backend would be broken down into layers. Data layer, business layer, etc.
For the website, you have a layer to fetch the data to return html.
For another thing (ie rest api) - you fetch the SAME data, return in json.
How is this more work, again?
NOTE - Yes, my comment is not aimed at Carson, but those that genuinely use it as an excuse to attack htmx.