TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Next.js 13

229 pointsby jacobwgover 2 years ago

17 comments

dsissitkaover 2 years ago
Edit: There&#x27;s some more discussion about Turbopack at <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=33333695" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=33333695</a>.<p>Looks like they launched a webpack alternative called Turbopack today:<p>&gt; Next.js 13 includes Turbopack, the new Rust-based successor to Webpack.<p><a href="https:&#x2F;&#x2F;vercel.com&#x2F;blog&#x2F;turbopack" rel="nofollow">https:&#x2F;&#x2F;vercel.com&#x2F;blog&#x2F;turbopack</a><p><a href="https:&#x2F;&#x2F;turbo.build&#x2F;pack" rel="nofollow">https:&#x2F;&#x2F;turbo.build&#x2F;pack</a>
评论 #33334285 未加载
评论 #33334257 未加载
评论 #33334644 未加载
adoxyzover 2 years ago
Awesome release. As an early adopter of Next.js and seeing it evolve over the years, it&#x27;s been one of the most consistent frameworks that continues to get better and &quot;just works&quot;.<p>Is it perfect. No. But it&#x27;s very close for most of my use cases.
yborisover 2 years ago
<i>Turbopack</i> (comes with Next.js 13) seems <i>AMAZING</i>!<p>&gt; Turbopack updates 10x faster than Vite and 700x faster than Webpack<p>&gt; Turbopack is an incremental bundler optimized for JavaScript and TypeScript, written in Rust by the creators of Webpack and Next.js at Vercel.
pen2lover 2 years ago
I&#x27;m pleased to see cumulative layout shift (re self-hosted fonts) advertised as a feature, this is the right kind of user-centric development, indeed the small details like these go a long way in improving user experience.
latchkeyover 2 years ago
<p><pre><code> &#x2F;&#x2F; &quot;alt&quot; is now required for improved accessibility </code></pre> I&#x27;m all for accessibility, but let us decide when to implement it.
评论 #33334624 未加载
评论 #33334810 未加载
评论 #33334309 未加载
评论 #33334324 未加载
slooonzover 2 years ago
I find the data fetching example extremely confusing…<p>1. Where does this &quot;use&quot; comes from ? It is not present in the official React API reference : <a href="https:&#x2F;&#x2F;reactjs.org&#x2F;docs&#x2F;react-api.html" rel="nofollow">https:&#x2F;&#x2F;reactjs.org&#x2F;docs&#x2F;react-api.html</a><p>2. It says that the value is not serialized, but what if Page is rendered client side and I want getData to always be executed server side (for example, it may contains secret API key, or make a database call) ?<p>3. getData is async, so what happens to name if the promise is not yet resolved ?
评论 #33334546 未加载
parhamnover 2 years ago
The next-gen bundler rewrites are getting insane, just as things were consolidating in the other parts of JS. We now have:<p>- EsBuild<p>- SWC (also written by someone who works at Vercel)<p>- TurboPack<p>- Vite (rollup)<p>- Parcel<p>- Rome<p>I&#x27;ve noticed in the javascript ecosystem there is much less convergence than in other languages. Everyone wants a flag in the ground.
评论 #33334451 未加载
评论 #33334446 未加载
评论 #33334876 未加载
评论 #33334401 未加载
评论 #33334600 未加载
评论 #33336102 未加载
rektideover 2 years ago
&gt; <i>With Server Components and nested layouts in Next.js, you&#x27;re able instantly render parts of the page that do not specifically require data, and show a loading state for parts of the page that are fetching data. With this approach, the user does not have to wait for the entire page to load before they can start interacting with it.</i><p>Crazy huge user win.<p>I am a little nervous how much stuff Next does in the middle, how thoroughly it links front &amp; back end. Streaming a page with chunks missing then streaming sections as they resolve is pretty advanced magic. Amazing DX experience but I also can think back to asp.net &amp; remember huge viewstate blobs &amp; utterly magic middle-layers, and those were powerful too, but impregnible bizarre systems to the developer &amp; that wasnt good.<p>Next keeps hitting reaply really nice sweet spots &amp; consolidates &amp; tackles so many problems, and my trepidation is small at this point, but this is really redefining the page a lot, &amp; I feel like I really want some deep dives on the technics involved here, want to know the magic is somewhat accessible &amp; coherent, for fellow would be meddlers.
elforce002over 2 years ago
I started my journey with Vue, then Nuxt (of course),then switched to React and last year started to use Nextjs. So far I have no complains (at least no big ones).<p>With new frameworks poping out (qwik, remix, fresh, etc...), it&#x27;s getting really interesting and tiresome at the same time.<p>We&#x27;re migrating all our platforms to React&#x2F;Next and we couldn&#x27;t be happier. Is it perfect? Nothing really is. Next is good enough, the community is engaged, the ecosystem is big, and the industry is basically dominated by react (giving react devs some sort of peace of mind when looking or switching jobs).<p>Sometimes, you have to pick a piece of tech and roll with it as long as the tech keeps improving and the community improves alongside it. Nextjs is currently doing it.
评论 #33408487 未加载
gl-prodover 2 years ago
Next[js] Conf is live right now at <a href="https:&#x2F;&#x2F;nextjs.org&#x2F;conf" rel="nofollow">https:&#x2F;&#x2F;nextjs.org&#x2F;conf</a>
评论 #33334305 未加载
neurostimulantover 2 years ago
Not knowing anything about the new &#x2F;app directory support, I&#x27;m able to migrate my static landing page in about two hours. The resulting page is definitely smaller and load faster than the previous version. Now I&#x27;m consistently getting 100 on page speed insight (mobile) while previously it&#x27;s hovering around 98-99.<p>The documentation for the new &#x2F;app directory support is not complete though. API routes seems to be not documented yet (or is it not implemented yet?) so I haven&#x27;t ported mine and leave it on the &#x2F;pages&#x2F;api directory for now.
评论 #33340490 未加载
guhidalgover 2 years ago
Their tutorial is incredible, everyone should take a lesson from Vercel on this: <a href="https:&#x2F;&#x2F;nextjs.org&#x2F;learn&#x2F;foundations&#x2F;from-react-to-nextjs&#x2F;getting-started-with-nextjs" rel="nofollow">https:&#x2F;&#x2F;nextjs.org&#x2F;learn&#x2F;foundations&#x2F;from-react-to-nextjs&#x2F;ge...</a><p>Tell me:<p>1. What I need to know to understand this documentation<p>2. The before state (plain React.js)<p>3. The after state (Next.js)<p>I&#x27;m fucking sold, I&#x27;m going to use Next.js just based on how well written this documentation is.
评论 #33334524 未加载
评论 #33334367 未加载
评论 #33334412 未加载
andrewingramover 2 years ago
I’ve been trying out the pre-release version for the last couple of months, just published a quick brain dump of my thoughts related to the major changes (router, server components, etc) as they stand today.<p>I’ve already heard from the team about the plan for my last concern, and it seems viable.<p><a href="https:&#x2F;&#x2F;andrewingram.net&#x2F;posts&#x2F;thoughts-on-next-13-react-18-3-dynamic-with-some-limits&#x2F;" rel="nofollow">https:&#x2F;&#x2F;andrewingram.net&#x2F;posts&#x2F;thoughts-on-next-13-react-18-...</a>
NayamAmarsheover 2 years ago
Surprisingly, my compile times with Next.js 12.3 have been really really awful. A simple CSS change takes almost 10 seconds to compile and I&#x27;d love to know why.<p>My app isn&#x27;t complex, it uses Recoil, Tailwind and that&#x27;s it. Compile times were better in v11 in my experience.
davidspiessover 2 years ago
What i am still missing is the possibility to deploy next.js to a serverless platform where files have to be stored in S3 or Google Cloud Storage. Had anybody success to get it working, without loosing ISR functionality?
评论 #33334505 未加载
samyokover 2 years ago
All these changes look great. I&#x27;m especially glad that next&#x2F;link always renders an &lt;a&gt; now, if I read it right it seems to solve the &quot;create a dummy span around some imported component&quot; issue.
solardevover 2 years ago
Super excited about Turbopack! Thank you for moving the Web forward so much.