1. X
  2. Andrew Gadzik ▲
Log inSign up
Andrew Gadzik ▲
1,920 posts
user avatar
Andrew Gadzik ▲
@z0oks
Software Engineer ▲ @Vercel. Prev @sonos, @libertymutual, @dellemc
New Hampshire
Joined September 2011
919
Following
1,092
Followers
RepliesRepliesMediaMedia

New to X?

Sign up now to get your own personalized timeline!

Create account

By signing up, you agree to the Terms of Service and Privacy Policy, including Cookie Use.

Terms·Privacy·Cookies·Accessibility·Ads Info·© 2026 X Corp.
Don't miss what's happening
People on X are the first to know.
Log inSign up
  • Pinned
    user avatar
    Andrew Gadzik ▲
    @z0oks
    May 10, 2024
    Today we launched our parallel route implementation of the header breadcrumbs on @vercel. I had a personal goal of making the implementation 2x faster than the current Client Component / useParams() approach. We ended up around a ~3x improvement 🤯
    00:00
    user avatar
    Guillermo Rauch
    Vercel
    @rauchg
    Nov 18, 2022
    Just saw a demo of the @vercel nav implemented as a @nextjs 13 app/ layout with SSR streaming (top) compared to legacy, client-driven Jamstack approach (bottom) World of difference: ~7x faster! (h/t @z0oks)
    215K0215K
  • user avatar
    Andrew Gadzik ▲
    @z0oks
    May 10, 2023
    🤯 Mind-blown: With @nextjs #ServerActions, you can easily return partial JSX directly from the server! 🙌
    GIF
    33K033K
  • user avatar
    Andrew Gadzik ▲
    @z0oks
    Dec 14, 2023
    Glad you love it 🤗 All the inspiration came from @jh3yy
    user avatar
    Kyler Phillips
    @kylerjphillips
    Dec 14, 2023
    Someone at @vercel spent far too long on this scroll interaction and I love it
    00:00
    7.2K07.2K
  • user avatar
    Andrew Gadzik ▲
    @z0oks
    May 3, 2023
    Cool to see the hackathon project I worked on come to life 🤯
    user avatar
    Vercel
    @vercel
    May 3, 2023
    Introducing Visual Editing for Headless ◆ Designed with our launch partner Sanity ◆ Edit inline or click directly into your CMS ◆ Built on new content source mapping standard ◆ Requires zero frontend changes and supports any framework vercel.com/blog/visual-ed…
    00:00
    10K010K
  • user avatar
    Andrew Gadzik ▲
    @z0oks
    May 26, 2024
    This is how we built our parallel routes breadcrumbs on @vercel
    user avatar
    Shu
    Vercel
    @shuding
    May 25, 2024
    In the latest `swr@beta`, you can seamlessly move data fetching between client-side and server-side, or both, in an RSC framework like Next.js: 🔸Client only: useSWR(key, fetcher) 🔹Mixed: useSWR(key, fetcher) + RSC-provided data 🔸Server only: useSWR(key) + RSC-provided data
    00:00
    6.8K06.8K
  • user avatar
    Andrew Gadzik ▲
    @z0oks
    May 3, 2023
    I'm a @reactjs developer now
    Reuse request so that a ReadableStream body does not become disturbed by agadzik · Pull Request...
    From github.com
    6K06K
  • user avatar
    Andrew Gadzik ▲
    @z0oks
    May 11, 2024
    Replying to @z0oks @wesbos and @vercel
    I made a reference repo for the community a few weeks ago if you’re interested 🤗
    GitHub - agadzik/parallel-routes-breadcrumbs: A demonstration of using Next.js App Router with...
    From github.com
    1.2K01.2K
  • user avatar
    Andrew Gadzik ▲
    @z0oks
    Jul 17, 2024
    I did a thing today at work...
    3.3K03.3K
  • user avatar
    Andrew Gadzik ▲
    @z0oks
    Aug 8, 2018
    Replying to @PJHughes45 and @shroud
    GIF
  • user avatar
    Andrew Gadzik ▲
    @z0oks
    Apr 2, 2024
    Yesterday, we made a change to the @vercel dashboard header to improve the loading experience with our offscreen components.
    00:00
    11K011K
  • user avatar
    Andrew Gadzik ▲
    @z0oks
    May 11, 2024
    Replying to @wesbos and @vercel
    Thank you! 🙇‍♂️ By using Parallel Routes, we’re able to gain access to our dynamic path params on the server. This allows us to data fetch and stream back the breadcrumbs much faster than downloading / parsing / executing client-side JavaScript to do the fetch / render
    4.7K04.7K
  • user avatar
    Andrew Gadzik ▲
    @z0oks
    Jun 15, 2021
    So cool to see my work to add TypeKit support mentioned at #NextJSConf @vercel @hdjirdeh 🙌
  • user avatar
    Andrew Gadzik ▲
    @z0oks
    May 10, 2024
    Replying to @mrcrp96 and @vercel
    I posted a reference repo a few weeks ago, here you go!
    GitHub - agadzik/parallel-routes-breadcrumbs: A demonstration of using Next.js App Router with...
    From github.com
    1.3K01.3K
  • user avatar
    Andrew Gadzik ▲
    @z0oks
    Apr 12, 2023
    Here's a solution for keeping data up-to-date when using #ReactServerComponents without using useSWR! 🎉
    // app/lib/revalidator.tsx
"use client";

import { useRouter } from "next/navigation";
import { useEffect } from "react";
import debounce from "lodash/debounce";

export function Revalidator() {
  const router = useRouter();

  useEffect(() => {
    const revalidate = debounce(() => {
      router.refresh();
    }, 5000);

    window.addEventListener("focus", revalidate);

    return () => {
      window.removeEve...
    2.3K02.3K