Today, we're excited to launch @github code search - a new way to search and navigate code.
We’re introducing a brand new search and code navigation view and they are jam packed with new features. Here are some I’m excited about.... 🧵 1/6
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.
https://t.co/FCoqQ47iqa
Huh. Looks like the React team is finally working towards an "official" API for triggering Suspense behavior. instead of manually throwing promises, this PR adds an `experimental_use(somePromise)` hook (which throws after introspecting the promise):
https://t.co/Xg5NE52cX1
We've updated the Next.js Layouts RFC. Here's a summary of the new proposed features.
1️⃣ New optional files that make it easy to add nested loading and error UI. We expect most of your app will use `page.js` and `layout.js`, but you can reach for these other files if needed.
The @nextjs team has been quietly rebuilding the foundation of Next.js using Server Components, Suspense, Streaming, etc.
These changes affect features across the board so we're taking the opportunity to work on a new structure for the docs ✨
Here's an early preview:
😎 Docusaurus 2.0 is now officially released 🎉
🤯 not too late, 4 years of work
I've been working on this project with Meta for 2 years now, and it's been really fun to watch it grow over time: I feel like my work has a real impact
https://t.co/ERK62Io5e1
Next.js Layouts RFC
◆ Nested routes / layouts
◆ Designed for Server Components
◆ Fetch in layouts while avoiding waterfalls
◆ React 18 features – startTransition, Suspense
◆ Client and server routing
◆ 100% incrementally adoptable
https://t.co/jvaVOmyB8A
👀 HTTP has a new status code: 103
This seems useful to improve website performances
Browsers can start prefetching/preloading resources sooner
https://t.co/bMfga7MLze