Loading video player...
Next.js 16 is out now and the headline
feature is C components. These allow you
to have pages made up of both static and
dynamic content and use partial
pre-rendering to send the static bits as
HTML and stream in the dynamic bits once
they're ready. They also make Cing much
more composable with the use C
directive. This can be put at the top of
a file, component or function so that
the work to fetch that data only needs
to happen once and anyone visiting the
page in the future can load that heavily
ced static HTML immediately. This also
allows the router to prefetch that
pre-rendered content and even kick off a
request for that dynamic stuff before
the navigation is complete. There are
still some things to work out with user
specific content where the things
displayed on a page are unique for every
user but next.js JS are working on this
use cache private API designed for
exactly this use case. So by setting C
components to true in your next config
file, you get some pretty powerful
caching tools. And I think we'll see
some pretty huge performance benefits
coming in the future, even for entirely
dynamic users specific pages.
Cache Components enable Partial Prerendering and composable Caching in Next.js 16. Let's learn how and why we want to use them! š Learn more about Supabase š šø Website: https://supabase.com/ š Get started: https://app.supabase.com/ š Docs: https://supabase.com/docs š Subscribe for more tutorials and feature updates from Supabase: https://www.youtube.com/channel/UCNTVzV1InxHV-YR0fSajqPQ?sub_confirmation=1 š± Connect with Us: š Github: https://www.github.com/supabase š¬ Discord: https://discord.supabase.com/ š¦ Twitter: https://www.twitter.com/supabase/ ā¶ Instagram (follow for memes): https://www.instagram.com/supabasecom/ ABOUT SUPABASE: Supabase is the open source Firebase alternative. Supabase provides a full Postgres database for every project with pgvector, backups, realtime, and more. Add and manage email and password, passwordless, OAuth, and mobile logins to your project through a suite of identity providers and APIs. Build in a weekend, scale to millions. #Supabase #AppDevelopment #DeveloperTools