leerob Profile Banner
Lee Robinson Profile
Lee Robinson

@leerob

Followers
171K
Following
46K
Media
1K
Statuses
13K

Developer Experience @Vercel. Teaching about React, Next.js, and the web.

Joined October 2009
Don't wanna be here? Send us removal request.
@leerob
Lee Robinson
5 months
git add . git commit -m "fix" --no-verify.git push origin main --force
Tweet media one
153
677
9K
@leerob
Lee Robinson
2 years
frontend is easy
Tweet media one
217
1K
7K
@leerob
Lee Robinson
5 months
me using vim.
54
389
7K
@leerob
Lee Robinson
2 years
Coming soon to @nextjs – improved SEO support!
Tweet media one
185
552
5K
@leerob
Lee Robinson
2 years
Vercel Cron Jobs. Next week.
Tweet media one
247
452
5K
@leerob
Lee Robinson
8 months
Just did a fresh macOS install — writing down what I set up:. • Superhuman: fast email client.• Ghostty: super fast terminal.• Neovim: default editor.• Raycast: better spotlight.• CleanShot X: better screenshot tool.• Notion: work notes + calendar.• Chrome: default browser.
329
217
5K
@leerob
Lee Robinson
2 years
URL state is underrated. Here's an example of how we built @nextjs commerce with almost zero `useState` calls.
140
463
4K
@leerob
Lee Robinson
3 years
📣 The Next.js router is getting a major upgrade!. ◆ Nested routes / layouts.◆ Client and server routing.◆ React 18 features – startTransition, Suspense.◆ Designed for Server Components.◆ 100% incrementally adoptable 🤯. Expect an RFC very soon 👀.
89
588
4K
@leerob
Lee Robinson
8 months
📹 Self-Hosting Next.js. Learn how to deploy Next.js, Postgres, and Nginx to a $4 VPS with Docker. I'll explain how to use and configure Next.js features like image optimization, caching & ISR, streaming, middleware, server components, and more. Demo app is open source!
145
447
4K
@leerob
Lee Robinson
9 months
Life update. I'm a dad! Our first daughter 🌸
Tweet media one
450
29
4K
@leerob
Lee Robinson
5 months
handyarrows​.com is wonderful. Hand-drawn arrows you can copy as SVGs or React component.
Tweet media one
56
174
4K
@leerob
Lee Robinson
8 days
So I gave the same task to Codex, Jules, and Devin. Let's see what these AI Agents are all about. Do they actually work?.
101
218
4K
@leerob
Lee Robinson
8 months
GM. I just deployed Next.js, Postgres, and Nginx to a $4 VPS. Time for a tutorial?.
270
80
3K
@leerob
Lee Robinson
5 months
AI-native UX. What do apps look like when you design AI first?. Starting a thread to collect some examples I've found.
112
270
3K
@leerob
Lee Robinson
3 years
When there's competition in DevTools, developers win:. ◆ Svelte is pushing React.◆ Remix is pushing Next.js.◆ Prisma is pushing ORMs.◆ Deno is pushing Node.js.◆ Supabase is pushing Firebase.◆ esbuild / SWC are pushing JS tooling.◆ Bun is pushing SWC. What else?.
170
474
3K
@leerob
Lee Robinson
1 month
How is this tweet only 2 months old 🤯.
@karpathy
Andrej Karpathy
4 months
There's a new kind of coding I call "vibe coding", where you fully give in to the vibes, embrace exponentials, and forget that the code even exists. It's possible because the LLMs (e.g. Cursor Composer w Sonnet) are getting too good. Also I just talk to Composer with SuperWhisper.
65
134
3K
@leerob
Lee Robinson
9 months
Just shipped a new @nextjs template!. • Uses Postgres and Drizzle for the database.• UI components with Tailwind and shadcn/ui.• Email/password authentication with JWTs stored to cookies.• Dashboard pages with CRUD operations on users/teams.• Basic RBAC with Owner and Member
103
191
3K
@leerob
Lee Robinson
4 years
The new React docs are out!. Well-written and practical, complete with interactive examples, diagrams, and more. Plus, they teach Hooks first. Give them a read and provide feedback:
Tweet media one
38
482
3K
@leerob
Lee Robinson
1 year
Quality of life improvement: @nextjs can now run with HTTPS locally 🔒. `next dev --experimental-https`
Tweet media one
97
233
2K
@leerob
Lee Robinson
2 months
John moved away from Next.js – what went wrong?. They felt the navigation was slow and ultimately ended up migrating away. Made a quick video to explain the different data fetching patterns building dashboard apps and how John can get snappy navigations without loading spinners.
107
135
2K
@leerob
Lee Robinson
4 years
History of React State Management. • 2013 – Introduction.• 2015 – Redux.• 2016 – MobX.• 2018 – Context.• 2019 – Hooks.• 2019 – Zustand.• 2020 – Jotai, Recoil.• 2021 – useSelectedContext. The future is exciting! Here's a brief summary of how we got here ⬇️
Tweet media one
58
491
2K
@leerob
Lee Robinson
2 months
Let me set the record straight. I need to speak up more on here. "Vercel pays a bunch of influencers to trick people". 1) What. That's a terrible idea. 2) We have sponsored only one YouTube channel, ever. The skateboarder from California. Who always calls us out on our B.S.
151
54
2K
@leerob
Lee Robinson
10 months
How should you search, filter, and paginate data with Next.js? This demo has 50,000 books in a Postgres database. • Page Load: When the page loads, we see the React Suspense fallback. This loading skeleton is displayed until the first page of books is retrieved from the
96
233
2K
@leerob
Lee Robinson
2 years
I wrote a response to @kentcdodds's post "Why I Won't Use Next.js". It started small, but ended up with a 3,000 word journey and some history about how Next.js has evolved. Here's why I'm using Next.js.
91
222
2K
@leerob
Lee Robinson
2 months
Want to understand how 'use client' and 'use server' work?. Watch this video. So good.
@delba_oliveira
Delba
8 months
React visually explained: 'use client'
18
149
2K
@leerob
Lee Robinson
2 months
Replit​.com itself is powered by self-hosted Next.js on GCP and has been for years. Further, all Replit “repls” are runtime agnostic containers capable of running any web server, `next start` included.
@amasad
Amjad Masad
2 months
Next.js is primarily made for Vercel and requires a ton of investment to make it work outside. Things like OpenNext exist but we’d rather bet on truly open frameworks like Vite.
55
54
2K
@leerob
Lee Robinson
9 months
I don't know the right way to talk about burnout, but here we go. Helping build a developer community was not something I ever planned on doing. It kind of just. happened. And it's wonderful. It's a privilege to be part of a community that cares. To share any feedback, good.
270
69
2K
@leerob
Lee Robinson
16 days
Want to build a SaaS app where users can have custom domains?. Learn how you can use Next.js to handle subdomains (leerob.acme​.com) with our updated starter template and guide.
67
160
2K
@leerob
Lee Robinson
4 years
My latest course on Next.js is now available free 🚀. Learning Next.js will transform how you build web applications. - Next.js / React.- Firebase.- Stripe / Vercel.- 15+ hours of content. RTs appreciated 🙏 #100DaysOfCode .
35
646
2K
@leerob
Lee Robinson
3 years
The Verge: new version built with @nextjs, @vercel, and @tailwindcss 🔥.
Tweet media one
64
127
2K
@leerob
Lee Robinson
5 months
Next.js template to search/filter/paginate 600,000 books. ✨next-books-search​.​vercel​.app✨
50
118
2K
@leerob
Lee Robinson
3 years
TypeScript 4.9 is going to be *huge* for @nextjs. With the release of `satisfies`, you'll get improved type safety inside `getStaticProps`/`getStaticPaths`/`getServerSideProps` as well as inside Pages. 🤯
Tweet media one
45
248
2K
@leerob
Lee Robinson
1 year
Laravel is fine. Rails is fine. React is fine. Vue is fine. Svelte is fine. Use whatever tools you like. You can build amazing products with any of these. Don't get lost debating tools and forget about the "building the product" part.
97
215
2K
@leerob
Lee Robinson
7 months
Extremely long programming tutorials are an anti-signal for me. I don't want a 20 hour course, I want 30 minutes.
188
63
2K
@leerob
Lee Robinson
6 months
Wait. SQLite is coming to Node.js? I missed this.
Tweet media one
55
108
2K
@leerob
Lee Robinson
2 years
"Text content does not match server-rendered HTML".
42
167
2K
@leerob
Lee Robinson
6 months
Building personal software is my favorite hobby. I wanted a minimal app to view basketball information for my favorite team. Built this using the ESPN API and can install it as a PWA on my phone. Now updated with 'use cache' and Next.js 15!
Tweet media one
68
50
2K
@leerob
Lee Robinson
3 years
⬇️ Everything we launched at Next.js Conf yesterday.
27
326
2K
@leerob
Lee Robinson
1 year
So, @vercel reverted all edge rendering back to Node.js 😬. Wanted to correct the record here as it's something I've advocated for in the past, and share what I've learned since then. Also, the "edge" naming has been a bit confusing, so let's clear that up here as well. What is.
111
202
2K
@leerob
Lee Robinson
3 years
Been exploring Next.js 13 layouts for my new site. Makes animating page transitions *really* easy. Should I do a stream on this soon? 👀
79
88
2K
@leerob
Lee Robinson
3 years
Next.js is working on a new router, with support for nested layouts, colocated data fetching, and React Server Components. I wrote up a quick overview of the upcoming changes. You'll be able to incrementally adopt these new features in a future release.
30
245
1K
@leerob
Lee Robinson
2 months
Two things all fast websites have:. 1. Fast initial page load.2. Fast transitions between pages. There's two concepts you need to understand for this:. 1. Prerendering.2. Prefetching. I’ll briefly explain both and how Next.js handles them under the hood. Prerendering. To have a.
72
130
2K
@leerob
Lee Robinson
2 years
Next.js is a free open-source framework. The creators, Vercel, fund its development. How is this possible? Why would they give it away for free? Let's talk about funding open-source software (OSS).
25
146
2K
@leerob
Lee Robinson
5 years
Me: I'll make my website open source so people can learn. Them: ⌘C + ⌘V – Don't bother changing the links. Don't do this.
Tweet media one
55
123
2K
@leerob
Lee Robinson
3 years
Next.js passed Create React App in npm downloads 🤯. A few thoughts on the journey over the past five years.
Tweet media one
22
155
2K
@leerob
Lee Robinson
9 months
I've built this entirely in @v0 so far 🤯
Tweet media one
93
48
2K
@leerob
Lee Robinson
3 years
You can now import your `.env` file on @vercel – or even better, just directly ⌘+V ✨
82
144
2K
@leerob
Lee Robinson
1 year
A 1-hour introduction to Next.js and React 🎥. This mini course is designed for beginners, but if you've used Next.js before, hopefully you'll still pick up some new tips. We'll build a quiz app using Postgres, starting from React basics and going all the way to Server Actions!
33
181
2K
@leerob
Lee Robinson
5 months
Life is too short to use ugly software. Demand beautiful software. And if it doesn’t exist, create it yourself.
84
181
2K
@leerob
Lee Robinson
4 years
I spent a few hours rebuilding with Next.js & @tailwindcss for fun and recorded myself along the way.
30
100
2K
@leerob
Lee Robinson
2 years
Good news! @nextjs now automatically restarts your local dev server when you make changes to `next.config.js`. Available on `canary` and soon the next stable release 🔥
83
100
2K
@leerob
Lee Robinson
8 months
Introducing Vim for React Developers. A free, quick (1-hour) course to help you quickly get productive with Vim. If you write React or JavaScript code, this course contains practical examples to help you learn (and understand) Vim motions.
42
144
2K
@leerob
Lee Robinson
5 months
React meetup @ Vercel HQ
46
32
2K
@leerob
Lee Robinson
3 years
TIL that @tailwindcss can automatically strip hover styles for mobile devices. No more desktop styles affecting taps!.
Tweet media one
24
154
1K
@leerob
Lee Robinson
3 months
What's the difference between servers, serverless, and fluid compute?
64
100
2K
@leerob
Lee Robinson
4 years
Behind the scenes. 👀🎥
Tweet media one
Tweet media two
Tweet media three
Tweet media four
47
31
1K
@leerob
Lee Robinson
2 years
"use php" just dropped  🤣.
Tweet media one
72
134
1K
@leerob
Lee Robinson
4 years
How to get the fastest web fonts (Updated 2021). 1️⃣ Use a variable font .2️⃣ Preload your font file.3️⃣ Self-host instead of Google Fonts.4️⃣ Use `font-display: optional` to prevent layout shift.
16
196
1K
@leerob
Lee Robinson
5 months
I built a clone of the Yeezy store with Next.js. This was a fun challenge — the site has some smooth animations and feels very fast. But it was bothering me that I couldn't use the browser back button. Can we do better?. So I rebuilt the site with @v0 and @motiondotdev. Here's
67
80
1K
@leerob
Lee Robinson
5 months
Open-source Next.js codebases related to AI:. • AI Chatbot: • MiniPerplx (AI Search Engine): • Supabase (Vector Database): • Langline (AI Translations): • Shortest (E2E Tests with.
35
166
1K
@leerob
Lee Robinson
2 years
I just launched a new version of my site!. ◆ Next.js 13 + `app/` directory.◆ MDX with React Server Components.◆ Tailwind CSS for styling.◆ Framer Motion for animations.◆ PlanetScale + Auth.js.◆ Vercel Analytics. Code →
83
96
1K
@leerob
Lee Robinson
4 years
New post: Rust Is The Future of JavaScript Infrastructure 🦀. Why is Rust being used to replace parts of the JavaScript web ecosystem like minification, transpilation, formatting, bundling, linting, and more?.
32
277
1K
@leerob
Lee Robinson
3 years
We’re releasing one of the most requested Next.js features this week. What do you think it is? 👀.
277
74
1K
@leerob
Lee Robinson
2 years
How is this not illegal
Tweet media one
57
114
1K
@leerob
Lee Robinson
3 years
With 91,700 stars, @nextjs just passed Kubernetes 😮
Tweet media one
21
108
1K
@leerob
Lee Robinson
2 months
Kids are great btw. We had our first child 7 months ago. It's been wonderful. So much to be thankful for with a happy, healthy daughter/wife 👶
Tweet media one
72
8
1K
@leerob
Lee Robinson
3 years
We're working on improvements to @nextjs to make it easier to use custom web fonts while maintaining great performance. Import the font in `_app`, add "Inter" to your `font-family`, and you're done. This only loads the specified variants and automatically subsets. Thoughts?
Tweet media one
75
95
1K
@leerob
Lee Robinson
3 years
Tanner (@tannerlinsley) has made an incredible impact on the React ecosystem with libraries like React Query, React Table, and more. To thank him for his amazing open-source work, we're flying him to San Francisco for Next.js Conf next week. Thanks, Tanner!.
28
51
1K
@leerob
Lee Robinson
5 years
Big news – I'm joining the incredible team at ▲ @Vercel. I'm thrilled to help grow the Next.js community and continue building the optimal workflow for front-end developers 🥳.
104
35
1K
@leerob
Lee Robinson
4 years
Excited to announce I've been promoted to Head of Developer Relations at @Vercel 🚀. One more thing. I'm hiring!. If you want to join a high-growth startup, scale a community with millions of developers, and transform the way we build the web – join me!.
172
53
1K
@leerob
Lee Robinson
8 months
I've been building a music player with Next.js for fun. Here's a quick demo of how it works (it's open source!). • Demo: • Code: If you want to learn more about how it's built, here's more details ↓. I'm using Postgres (with
45
79
1K
@leerob
Lee Robinson
1 year
Authentication in @nextjs with Server Components and Server Actions is so nice 🥰. We're working on some updated docs for auth – what would you like to see?
Tweet media one
87
108
1K
@leerob
Lee Robinson
3 months
I spent 6 months trying code editors. My experience with Neovim, Zed, and Cursor.
41
74
1K
@leerob
Lee Robinson
3 years
npm uninstall next.npm install vacation.vercel --prod
Tweet media one
35
28
1K
@leerob
Lee Robinson
4 months
btw this is how vercel​.com works. We have 10+ microfrontends that stitch together into what feels like a single monolith. e.g. marketing site, microsite, docs, app. with the Speculation Rules API, you can still keep page transitions fast.
@aidenybai
Aiden Bai
4 months
TIL you can do "multi zone" in Next.js. basically independent Next.js apps running on a route. / -> main app./docs -> docs next.js app
Tweet media one
38
38
1K
@leerob
Lee Robinson
4 years
My current tech stack for web apps:. ◾️ Framework: Next.js.◾️ Database: SQL / @prisma.◾️ Authentication: @nextauthjs .◾️ Styling: @tailwindcss .◾️ Language: @typescript .◾️ Deployment: @vercel. Starting a new project with this, really excited 😌.
73
98
1K
@leerob
Lee Robinson
1 year
@zemotion @vercel Hey Jingna. First off, congrats on hitting 500K users so quickly. Looks like our systems have sent 12 notification emails to you, and since the traffic all appears to be legitimate, we also reached out directly on June 3rd to connect. The team and I are standing by, ready to.
63
30
1K
@leerob
Lee Robinson
1 year
Next.js 🤝 Remix
Tweet media one
29
33
1K
@leerob
Lee Robinson
3 months
🫡 RIP Create React App. It was how I first learned React almost ten years ago. I don't think I would have caught the same love for React without it. Incredibly grateful for it's existence all these years.
54
139
1K
@leerob
Lee Robinson
2 years
Improved sitemap support is coming to @nextjs!. 1. Create a `sitemap.ts` file inside `app/`.2. Fetch dynamic data + return an array of routes.3. 🎉. Now on `next@canary` and soon to a stable version.
Tweet media one
42
122
1K
@leerob
Lee Robinson
1 year
In 2015, I spent weeks learning Docker. I found it interesting, but more importantly, I believed learning Docker would help me grow in my career. And it did. Working with Docker also improved my knowledge of bash scripts, CI/CD, and unix. Now almost a decade later, I rarely.
@liz_love_lace
Liz Lovelace
1 year
why am I like this
Tweet media one
31
127
1K
@leerob
Lee Robinson
8 months
Trying to visualize scaling your self-hosted infra. Is this helpful? Pokemon worked for my brain 🤣
Tweet media one
51
81
1K
@leerob
Lee Robinson
9 months
Can I say something without everyone getting mad?. This isn't about any single library, but the JavaScript ecosystem as a whole. And I think we could learn a lot from the PHP ecosystem. JavaScript can sometimes lead you to "analysis paralysis". There's many packages that do the.
@flaviocopes
flavio
9 months
What do you think?. oh and I just read somewhere here on X that we're in a "post-Prisma world" smh 😂
Tweet media one
94
101
1K
@leerob
Lee Robinson
2 years
Netlify has acquired Gatsby.
53
156
1K
@leerob
Lee Robinson
2 years
This felt. therapeutic. Deleted code is the best kind of code.
Tweet media one
35
57
1K
@leerob
Lee Robinson
3 months
📹 New video: Building APIs with Next.js!
@nextjs
Next.js
3 months
Learn how to build APIs with Next.js.
23
110
1K
@leerob
Lee Robinson
3 months
My Next.js SaaS template now uses Partial Prerendering. Here's how it works ↓. Marketing pages (like the home page and the pricing page) are 99% static. However, we want to have a dynamic `<UserMenu>` component in the header. We need to fetch the user data on the server. So.
Tweet media one
41
85
1K
@leerob
Lee Robinson
9 months
Brb shipping this to production 🫡
Tweet media one
51
23
1K
@leerob
Lee Robinson
6 months
Installing PWAs on iOS has gotten pretty nice. • I can add the app to my home screen w/ an icon.• I can send push notifications.• On desktop, I display my app in a 3 column layout.• On mobile, each column is a tab in the bottom navbar
41
52
1K
@leerob
Lee Robinson
3 years
New logo + new features soon 🔥.
@vercel
Vercel
3 years
Today, we're also unveiling the new @nextjs logo.
36
52
1K
@leerob
Lee Robinson
3 months
Ask me anything about @nextjs or @vercel.
478
47
1K
@leerob
Lee Robinson
2 years
Product Engineer > Fullstack Engineer.
95
110
1K
@leerob
Lee Robinson
3 months
How to build a great product:. 1. Ship something.2. Make it easy to give feedback.3. Route feedback to the team.4. Fix their issue.5. Follow up with the customer. Repeat forever ∞. The faster the loop is closed, the better.
39
113
1K
@leerob
Lee Robinson
2 years
I saw some developers frustrated about Next.js on Reddit. To help explain the new concepts, I made a 12-minute video walking through their frustrations. Maybe my response will be helpful for others 😁.
Tweet media one
51
107
1K
@leerob
Lee Robinson
8 months
4 years at @vercel working on open source 🥳. Some of these squares are incredibly small: reviewing PRs, fixing typos, and reworking sentences in docs. But trying to push @nextjs forward and keep learning and iterating every day. Thankful for the opportunity!
Tweet media one
51
23
1K
@leerob
Lee Robinson
2 years
Let's build an email client with @nextjs and Postgres ✉️. ✅ Navigate between routes in a column layout while maintaining scroll position (layouts support).✅ Submit forms without JavaScript enabled (progressive enhancement).✅ Navigate between routes extremely fast (prefetching
23
80
1K
@leerob
Lee Robinson
9 months
Here's how I usually structure my Next/React apps. Let's talk about styling, data fetching, UI libraries, settings, and more. Styling. The short story is Tailwind. Why? It was easy for me to pick up, stays consistent whenever I revisit old projects, and works great with AI /.
@CodingGarden
CJ (Coding Garden)
9 months
Next.js devs - what are some of the first things you do in a new project? Any common libraries you install? Any common settings / configs you change?.
60
118
1K
@leerob
Lee Robinson
4 years
Okay, how cool is this!? Built with React 🤯. by @pmndrs
32
125
1K
@leerob
Lee Robinson
1 year
Want to roll your own auth with Next.js?. Learn how to use JWTs with HTTP-only cookies to implement basic session-based auth in the App Router.
31
100
1K
@leerob
Lee Robinson
8 months
The React Compiler is amazing. I was noticing lag when scrolling and dropped frames after adding 100s more rows to my table. Turned on the compiler and it just. fixed it. No memo, no virtualization, nothing 😮. Video below shows before and after.
33
45
1K