跳过导航
is a great Next.js app router app. It's blazing fast, even with data being highly dynamic (it shows…
0:00 / 0:27

is a great Next.js app router app. It's blazing fast, even with data being highly dynamic (it shows…

Guillermo Rauch

@rauchg59万 位关注者

在 X 上查看
775 个赞下载原帖

91,310 次观看

is a great Next.js app router app. It's blazing fast, even with data being highly dynamic (it shows realtime stock market data & politicians' trades) Some cool details from my analysis 🧵

11 条评论

评论来自 X (Twitter) 上的原帖

  • Guillermo Rauch 的头像

    @rauchg

    The initial state for the 'app' parts of the site is a Loading state, like a SPA. Unlike a SPA, but like a traditional website, in the same first load (roundtrip) we also get the data. You can see this by turning off JS which disables the <script> tags Next.js streams with:

    22 个赞

  • Guillermo Rauch 的头像

    @rauchg

    In the same app they also pre-render statically as HTML. This allows them to have SPA-like dynamic behavior, combined with more traditional content pages, without having to ship 2 websites and 2 frameworks. This is what news look like without streaming or any client `fetch`:

    27 个赞

  • Guillermo Rauch 的头像

    @rauchg

    One can do even better than "Loading…" text. With Partial Prerendering, even more static data can be hoisted into the initial CDN flush. Also, it might be worth looking into skeletons vs loading text, but that's a product design observation.

    34 个赞

  • Amberdata 的头像

    @Amberdataio

    Stay ahead in crypto trading with fast access to pricing, order books, and trade data from trusted exchanges and marketplaces. No waiting, no demos—just seamless access to the insights you need to succeed.

    250 个赞

  • D. Alan Gilbert 的头像

    @thinknbackward

    @nextjs what is granny doing buying stocks 😂

    10 个赞

  • Guillermo Rauch 的头像

    @rauchg

    @nextjs lol nice volume for grandma

    7 个赞

  • Grimz 的头像

    @51Grimz

    @nextjs That is impressively fast!

    8 个赞

  • Guillermo Rauch 的头像

    @rauchg

    @nextjs True. I came across it on HN and I thought: holy crap. Lo and behold it's @nextjs AR on @vercel. My goal is to keep working backwards from great products into the tech.

    22 个赞

  • Saurabh Suri⚡🥷🏼 的头像

    @surim0n

    @nextjs I’m going to load this thread into my cursor rules. It better work.

    4 个赞

  • Dathan 的头像

    @heydathan

    @nextjs Daamn, how is it this fast with all those images and graphs

    2 个赞

  • quick007 的头像

    @quick007YT

    @nextjs Honestly, textbook example of a website that feels slow... Most of the cached stuff feels fine, and loading states (when they show up) are great. But in a decent number of cases, user interaction feels sluggish. 🧵1/?

    2 个赞