HackerTrans
TopNewTrendsCommentsPastAskShowJobs

uhryks

no profile record

comments

uhryks
·2 года назад·discuss
Judiciary power is (somewhat) independent from executive power. Thank god people can still do things without needing Macron's approval.
uhryks
·3 года назад·discuss
This. I wouldn't be surprised if people give up after a while of searching and migrating to alternatives to each service that started using or selling data for AI training.
uhryks
·3 года назад·discuss
I don't know how different it is, but my guess is mostly that Node.js uses v8 and bun uses JavascriptCore.
uhryks
·3 года назад·discuss
Scope hoisting is the technique used there (it's in the title of your link) to simplify tree shaking a.k.a dead code elimination. Also yeah it's unlikely to be what's happening in that bug due to Google using Closure compiler.
uhryks
·3 года назад·discuss
Agree, it's like they made no effort to make hydration easier. Even the router doesn't have the route info on the first render on the client, I had to pass it with getServerSideProps, that's ridiculous.

If you have to re-engineer all your code to avoid content shift, why bother using a mega-framework like Next in the first place? Also the point of SSR and hydration is to improve performance and page loads, if you have a ton of work to do again on the client that's very small actual performance gains, but that's not so much of a surprise considering Next is one of the heaviest frameworks out there (in bundle size)
uhryks
·3 года назад·discuss
Agree! Webreflection is a huge reference when it comes to using Javascript to its fullest, reducing dependencies and using the platform™
uhryks
·3 года назад·discuss
This. Same happened with npm starting to offer new features (like lockfiles) only after yarn had them. History has shown competition is only way to make them move.