[HN Gopher] Second-Guessing the Modern Web
___________________________________________________________________
Second-Guessing the Modern Web
Author : tosh
Score : 11 points
Date : 2021-05-27 21:48 UTC (1 hours ago)
(HTM) web link (macwright.com)
(TXT) w3m dump (macwright.com)
| theteapot wrote:
| > "There are decent patterns in the form of GraphQL, but for a
| React component that loads data with fetch from an API, the
| solutions have only gotten weirder. There's great documentation
| for everything else, but old-fashioned data loading is relegated
| to one example of how to mock out 'fetch' for testing, and lots
| of Medium posts of varying quality."
|
| What is "old-fashioned data loading"?
| burlesona wrote:
| This is the money quote for me:
|
| > Frameworks should lure people into the pit of success, where
| following the normal rules and using normal techniques is the
| winning approach.
|
| > I don't think that React, in this context, really is that pit
| of success. A naively implemented React SPA isn't stable, or
| efficient, and it doesn't naturally scale to significant
| complexity.
___________________________________________________________________
(page generated 2021-05-27 23:00 UTC)