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.

We improved React loading times with Next.js

68 pointsby Lukas1994over 2 years ago

9 comments

subpixelover 2 years ago
I&#x27;ve been checked-out of the SSG world for a couple years and am now evaluating different tools and frameworks for a project at work.<p>I&#x27;m intrigued by the direction being taken by Remix, which posits that today&#x27;s backend options are so improved compared to those of the recent past that they (arguably) have eroded the utility of a static site, period.<p><a href="https:&#x2F;&#x2F;remix.run&#x2F;blog&#x2F;remix-vs-next" rel="nofollow">https:&#x2F;&#x2F;remix.run&#x2F;blog&#x2F;remix-vs-next</a><p>When it&#x27;s not crazy difficult or expensive to have a very fast app _and_ database close to your users, you don&#x27;t have to architect around that deficiency, which is what SSGs are designed to do.
评论 #33320588 未加载
评论 #33330600 未加载
throwaway4goodover 2 years ago
What does next.js offer if server side rendering is of no relevance? It seems to me that ssr adds a lot of complexity and a great number of projects have no need for it at all.
评论 #33319204 未加载
评论 #33318997 未加载
评论 #33318906 未加载
评论 #33319056 未加载
评论 #33318580 未加载
评论 #33318701 未加载
adchurchover 2 years ago
I&#x27;m one of the engineers that worked on this - would love to hear any thoughts or feedback anyone has! How does your team deploy your Next.js frontend?
评论 #33319210 未加载
评论 #33319260 未加载
joshuakgoldbergover 2 years ago
I&#x27;m so excited about this . It&#x27;s a testament to how well-built-up modern frontend tooling is, especially around React. The things that used to take hundreds or even thousands of lines of config can now be done in a few dozen at most with managed libraries. And better!
评论 #33321723 未加载
pitnikolaover 2 years ago
Great stuff — thanks for the write-up! Do you mind sharing the Dockerfile you use for deploying?
评论 #33320282 未加载
评论 #33320545 未加载
gatvolover 2 years ago
Ssr to improve a static app performance? Sounds like madness to me. More complexity plus much larger surface to secure.
评论 #33319911 未加载
pferdoneover 2 years ago
I mean good for them for improving their user‘s experience. I am just surprised that maintaining your own webpack config seems like such challenge. Enabling chunks to split code to improve loading times or dynamic imports, it‘s not exactly rocket science. Yes DX and all improved as well, but CRA is such a bad choice for production code. It gets you going fast(er), but as soon as you have to tweak it, it seems like devs jump to the &quot;next&quot; framework that already has those tweaks builtin…until they hit the next roadblock. Thus you never learn what actually makes it all work.
评论 #33322925 未加载
mikojanover 2 years ago
The problems described in the &quot;Routing&quot; section are trivially automated. You do not even need a separate data loading library because react-router-dom ships one.<p>The problems described in the &quot;Styles&quot; section would have been solved by migrating to a modern bundler: vite.
评论 #33323022 未加载
jsnkover 2 years ago
What cause the performance improvement?<p>Maybe I missed this detail. I couldn&#x27;t find anything on why the performance improvement happened when they moved from CRA to Nextjs
评论 #33320165 未加载