Voters don't lose elections, campaigns do. Harris failed, and this kind of "turning around of the blame" thing that Dems try to do is one of the reasons why they don't win elections: they never learn.
The reality is that Trump voters were (are?) dumb as rocks and tricked by simple populist messaging. There was nothing harris could've done short of succumbing to populism herself, and cloaking her campaign in dishonesty, fear, and simpleton reasoning.
Maybe she shouldve done that, but you can see why she didn't.
Then, there's no hope for America. Why bother running a candidate? Waste of money that could be spent on local elections.
The reality is, Kamala could have won that election. Quite easily as well:
1. Don't send bill Clinton to Dearborn to lecture people on how it's ok to bomb Palestine actually
2. Don't try to pivot right on immigration, instead turn hard left: argue for citizenship for all undocumented immigrants with no criminal history
3. Ignore all culture war issues, focus on affordability and nothing else. Promise to raise taxes for the rich, end subsidies for oil and gas companies, and stop sending billions to Israel and other American imperialist vassals
It was a vulnerability that only could exist due to the incestuous relationship between React and Vercel. It was something Vercel has been trying to heavily push into React for years (which is why they hired previous react core team members).
- His main example of bloated client-side dependencies is moment.js, which has been deprecated for five years in favor of smaller libraries and native APIs, and whose principal functionality (the manipulation and display of the user's date/time) isn't possible on the server anyway.
- There's an underlying assumption that server-side code is inherently good, performant, and well crafted. There are footguns in every single language and framework and library ever (he works for WordPress, he should know).
- He's right to point out the pain of React memoization, but the Compiler now does this for you and better than you ever could manually
- Larger bundle sizes are unfortunate, but they're not the main cause of performance issues. That'd be images and video sizes, especially if poorly optimized, which easily and immediately dwarf bundle downloads; and slow database queries, which affect server-side code just as much as browser-side code.
> There's an underlying assumption that server-side code is inherently good, performant, and well crafted
To me it’s an assumption that server side code is going to be running on a server. Which is a known quantity and can be profiled to the nth degree. It’s extremely difficult to profile every possible device your site will run on, which is crucial with low powered mobile devices.
> Larger bundle sizes are unfortunate, but they're not the main cause of performance issues. That'd be images and video sizes
Not really, no. Large bundle sizes prevent the initialisation of the app, which means the user can’t do anything. By comparison images and videos download asynchronously and get processed on a separate thread. JS bundles also need to be parsed after being downloaded, if you pair a crappy Android phone with an 5G connection the parsing can literally take longer than the download.
> Larger bundle sizes are unfortunate, but they're not the main cause of performance issues. That'd be images and video sizes, especially if poorly optimized, which easily and immediately dwarf bundle downloads; and slow database queries, which affect server-side code just as much as browser-side code.
In network terms JS tends to be downloaded at a higher priority than both images and video so has a larger impact on content appearing
JS is also the primary main thread blocker for most apps / pages… profile any NextJS app and you’ll see what a horrendous impact NextJS has on the main thread and the visitor’s experience
> There's an underlying assumption that server-side code is inherently good, performant, and well crafted.
I didn't read it that way. I believe the underlying assumption is that the server-side code won't run in a power-constrained computer, thus having more performance headroom.
reply