next-the-13th
rfcs
next-the-13th | rfcs | |
---|---|---|
1 | 7 | |
8 | 234 | |
- | - | |
10.0 | 0.0 | |
over 1 year ago | over 1 year ago | |
TypeScript | ||
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
next-the-13th
-
What's New in Next.js 13
I pushed the code examples in this post into a GitHub repo. There's also a live demo you can play with.
rfcs
-
Easy React data fetching with the new `use()` hook
React.use() is still an unstable API. For more information check out the support for promises React RFC . At the time of writing this, you can only test this API in Next.js 13.
-
Authentication in Next.js with Supabase and Next 13
You see, root-level await is not supported in client-side components, and so we can't "suspend" our Home page until the session data is available like we do with Profile. React team is working on an RFC and a new use hook that will allow us to conditionally wait for data to load, but it's not quite ready yet. Its use (pardon the pun) is also not recommended by Next itself, as it may cause multiple re-renders in Client Components. Considering all that, we'll need to find an alternative way.
-
React use() hook explained in 2 minutes
I think it's better explained in the RFC: https://github.com/acdlite/rfcs/blob/first-class-promises/text/0000-first-class-support-for-promises.md
-
Next.js 13 - What are the new features?
Below is an example taken from here showing how to fetch data with async/await in Server Components.
-
What's New in Next.js 13
Being able to utilize async/await in Server Components is great and is part of React's RFC to add first-class support for Promises. It allows us to do what we just did in app/dashboard/page.tsx:
-
React Just Got Even More Awesome
More info here
- React RFC: First Class Support for Promises
What are some alternatives?
nextjs-toploader - A Next.js Top Loading Bar component made using nprogress, works with Next.js 14 , Next.js 13 and React.
tailwindcss-forms - A plugin that provides a basic reset for form styles that makes form elements easy to override with utilities.
tauri-ui - 🦀 Create modern Tauri desktop apps in just a few simple steps with shadcn/ui. React, Next.js, Sveltekit.
nextjs-supabase-auth - Sample project for setting up Supabase Auth in Next.js
mdx-nextjs-13 - Proof-of-Concept for rendering MDX files using Next.js 13 and next-mdx-remote
auth-helpers - A collection of framework specific Auth utilities for working with Supabase.
OneStopShop - Online marketplace built using Nextjs 13 App Router with server components, server actions, parallel and intercepting routes as well as Drizzle ORM.
auth-ui - Pre-built Auth UI for React