ahuth
Joined 13 years ago
Joined 13 years ago
> We will not fare any better than Ukraine relying on tech like this.
Ukraine is faring amazing well, aren’t they?
Russia controls a fraction of the territory, has suffered a million casualties, and lost many many armored vehicles and combat aircraft.
Don’t use or pay for any AI features. But it’s really nice having a terminal with multi-cursor and keyboard shortcuts like an editor.
I still like using Next, though. Some nitpicks:
> Elements that could change need to be inside a client component, but data fetching cannot happen on the client components, even during SSR on the backend. This results in awkwardly small server components that only do data fetching and then have a client component that contains a mostly-static version of the page
That's one way to do it.
I like flipping it, though - most of the page is a server component, with awkwardly small client components that sprinkle in just enough JS for things that need interactivity (such as optimistic updates from the above quote).
> Since the App Router starts every page as a server component, with (ideally) small areas of interactivity, a navigation to a new page has to fetch the Next.js server, regardless of what data the client already has available!
This is true, and something that Remix v1/v2 did a lot better than Next.
It's because, as ugly as a long line of inline classes can be, it's easy to know exactly what styles are being applied to an element. Especially when there are more than 1 or 2 devs writing styles.
I can hear Sean Carrol saying, though, that:
1. We know general relativity isn’t complete, because it doesn’t take quantum mechanics into account.
2. We can’t say whether this is right because we don’t know the quantum theory of gravity.
But I don’t actually know what I’m talking about.
Next I’m working on making reviewing large AI-generated PRs easier, but haven’t gotten there yet.