General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
Kristopher Driver
Theo - t3․gg
comments
Comments by "Kristopher Driver" (@paxdriver) on "React 19 Is FINALLY Here" video.
36:34 prediction - phantom infinite renders one day. Terrible idea. Explicit is better. I'd much prefer a reliable error than an unreliable rare error after deployment.
1
Isn't any server component the same as a js file called by the server and the output served by an api? How is that any different from Express? I don't understand all these changes because very few of them seem to serve a need. If shorter code results in less legible code, the more code is better if it's descriptive. I hate shortening code just for the sake of character counts when it makes it take twice as long to figure out the 4 different ways to write the same thing without performance benefits. Nobody is impressed by fewer lines lol I don't like changes when nobody benefits from them, but many people suffer. Ref should be a built-in prop, not a second arg. If you're gonna need the ref it might as well be a reserved key in props, like why not?
1
Dude thanks for the vid. You look like you just gave birth at the office lol I feel bad you work so hard. Legit question though, how is an event or signal with usememo, or a consolidation function, considered "a bunch of other code" to accomplish the same thing as use transition? It never really seemed like a lot to me. Even arrow functions seemed pointless shorthand unless binding "this" is part of the function (in which case arrow functions are a godsend and why would you use anything else?)
1
Actionstate pisses me off. Nobody cares what I think, but that's what it is. 3 assumed destructured variables from a single function pisses me off. It's should be one object, like all hooks. Even if they had to use maps or a set to avoid an object, the assumption we'll memorize conventions that aren't enforced but are required is such poor foresight imho. They don't do that with anything else but react. They should've enforced an object formation so it can't just be convention that de teams rely on with unfamiliar code base. With context we know for a fact they could've incorporated manual render mode on components too, which would've been nice. Instead of context being able to send a bool for components to render them manually through props would've been cool. Then they default to off again once rendered from a true prop. That'd be so efficient for checkbox components and stuff. use is just a shortcut, it's not new I don't think. Just sugar coating instead of a new feature.
1