Тёмный

It's finally out!!! (Next.js 15 breakdown) 

Theo - t3․gg
Подписаться 345 тыс.
Просмотров 25 тыс.
50% 1

Next.js 15 has FINALLY been released and I couldn't be more hyped.
THANK YOU CLERK FOR SPONSORING soydev.link/clerk
SOURCE
nextjs.org/blo...
Check out my Twitch, Twitter, Discord more at t3.gg
S/O Ph4se0n3 for the awesome edit 🙏

Опубликовано:

 

21 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 103   
@simonorzel3464
@simonorzel3464 5 часов назад
Here’s a summary of the key points from the video with timestamps: ****00:00** - Introduction to Next.js 15** - Next.js 15 released just before Next Conf. - Major focus on making the framework easier to use, with much-needed changes. ****00:22** - Sponsor: Clerk** - Discussion on how Clerk simplifies authentication (SSO, multi-factor, passkeys). ****01:08** - Stable Release of Next.js 15** - Next.js 15 is stable and ready for production. - New `next@codemod` introduced to help update codebases automatically for async changes. ****01:35** - Breaking Changes (Async)** - Some breaking changes related to async behavior. - Example: Previously, calling `cookies` did not require `await`, but now it does. The codemod automates these updates. ****02:27** - Caching Defaults** - Caching behavior changes: `fetch`, `get` route handlers, and client routes are uncached by default. - Explicit caching must now be specified. - New caching options: `no-store`, `force-cache`, and `static`. ****03:45** - Page Components No Longer Cached by Default** - Page components are no longer cached by default, ensuring fresh data when navigating. ****05:07** - React 19 and Compatibility** - React 19 (RC) is used with Next.js 15. Pages Router remains compatible with React 18. - React Compiler is out of beta. ****06:22** - Next.js 15 Aligns with React 19** - Next.js aligns its release with React 19 to minimize future delays. - Backward compatibility with React 18 remains. ****07:32** - Pages Router Support Continues** - Pages Router will continue to be supported for new and existing projects. ****08:22** - React Compiler Eslint Plugin** - React team’s eslint rules were refined during the creation of the React Compiler. Recommended for all React apps. ****09:16** - Hydration Errors Improvement** - Hydration errors are now more informative, providing detailed diffs to identify issues. ****10:30** - Turbo Pack for Dev Mode** - Turbo Pack is the new default for faster development builds. It's not yet ready for production builds but will be soon. ****12:45** - Static Route Indicator** - New static route indicator helps developers understand which routes are static or dynamic during development. ****14:02** - `waitUntil` and `after` for Async Operations** - `waitUntil` and `after` help handle asynchronous background tasks more efficiently on platforms like Vercel. ****16:21** - Instrumentation.js for Error Management** - Introduction of `Instrumentation.js` to improve error tracking and logging, especially for platforms like Sentry. ****17:16** - Form Component** - The new form component supports prefetching and client-side navigation with progressive enhancement. ****18:39** - TypeScript Support for Next Config** - Next config files now support TypeScript, making it easier to see keys and experimental flags. ****19:56** - Sharp Package Included for Image Optimization** - Sharp is now included by default in Standalone output mode, simplifying image optimization. ****21:26** - Server Actions Security Drama Resolved** - Security concerns with server actions were addressed through encryption and randomized IDs. ****24:44** - Bundling of External Packages for Servers** - External packages are now bundled server-side to improve performance, particularly in serverless environments. ****26:04** - Server-Side Optimization** - Next.js now allows control over bundling external server-side dependencies for improved cold start times. ****27:47** - Improved Static Generation** - Static generation speed has been improved, and fetch cache sharing across multiple pages is now possible. ****29:28** - Concurrency Controls for Static Generation** - Advanced controls over static generation, including worker concurrency, are introduced to speed up resource-intensive tasks.
@heracraft5526
@heracraft5526 5 часов назад
GOD sent!
@SpeakChinglish
@SpeakChinglish 5 часов назад
Thank you, crazy videos in 2024 doesn't have timestamps by default.
@MrMazvaz
@MrMazvaz 5 часов назад
Bless you
@PatNeedhamUSA
@PatNeedhamUSA 2 часа назад
​@@SpeakChinglishI wouldn't be surprised if that happened by default for RU-vid Premium users but not for regular users.
@dandandev
@dandandev 2 часа назад
Is it just me or is this comment generated by ai?
@saissevictor
@saissevictor 6 часов назад
we’re here for the use cash 🤑
@edumorango
@edumorango 5 часов назад
Pure pa$$ion
@AvanaVana
@AvanaVana 3 часа назад
If you write: ‘use cash’ at the top of your files, they deploy automatically to vercel at premium prices
@realitydesigners
@realitydesigners 4 часа назад
We gunna see Nextjs20 before GTA 6 💀💀
@owenwexler7214
@owenwexler7214 3 часа назад
We’re gonna see all of those before Half Life 3 😢
@naughtiousmaximus7853
@naughtiousmaximus7853 5 часов назад
'use cache' for developers, 'use cash' for Vercel
@juicer_777
@juicer_777 5 часов назад
James from Payload CMS said he'll have the 3.0 version out in a few weeks since Next 15 is now stable
@_raptor4070
@_raptor4070 6 часов назад
lets go, time to rewrite my entire project
@Adityacode
@Adityacode 5 часов назад
then rewrite it to remix and thank me later 😎
@_raptor4070
@_raptor4070 5 часов назад
Dear @@Adityacode, oh hell nawl Kind regards, @_raptor4070
@Joshua.Developer
@Joshua.Developer 3 часа назад
How is remix? I tried solid but I still feel.like it's all messy​@@Adityacode
@mickomagallanes1185
@mickomagallanes1185 3 часа назад
@@Joshua.Developer I'm switching to Remix. Next.js is just painful
@Adityacode
@Adityacode 3 часа назад
@@Joshua.Developer remix doesnt give you much fancy things, its route based data loading and route based actions just like a traditional server rendered app but most people just hear this and assume that you would have to just prop pass everything to components but tbh its a skill issue. Remix has some great hooks like useMatches for that problem and error boundaries are so great, you get to learn so much about the web like http caching and how easy it is to cache. For example, I implemented my own route cache that allows me to cache which ever route i want to, not like next js route cache that you cant change. Honestly, only things remix lacks is middleware and type safety in actions easily.
@ellonmusketwannabe2201
@ellonmusketwannabe2201 7 минут назад
Really love the hydration error logs
@DavidFekke
@DavidFekke 6 часов назад
How can Vercel release Next.js 15 before React 19?
@drosi1994
@drosi1994 6 часов назад
they use the RC canary channel which (as the react states) it can be used from libraries
@dmsnm
@dmsnm 5 часов назад
The same way Instagram already use the React compiler in production
@zzzz6538
@zzzz6538 3 часа назад
and here i still use page route
@dhavalkurkutiya
@dhavalkurkutiya 6 часов назад
Hey Theo 👋 Very Nice Explanation ❤
@xprowler404x
@xprowler404x 6 часов назад
3rd?, goto bed theo!, or if u just woke up goodmorning!
@danielvanc_iow
@danielvanc_iow 4 часа назад
Sorry, but v15 is not stable for production if React 19 is not stable.
@invinciblemode
@invinciblemode 3 часа назад
Ikr, this is fking insane…
@hello19286
@hello19286 Час назад
Facebook and instagram are using 19, you should let them know that they aren't stable for production.
@danielvanc_iow
@danielvanc_iow 19 минут назад
@@hello19286How did using an unstable version of React work out for Next in v14? I imagine it’s not quite that straight forward with re: FB and Instagram.
@holgerflick
@holgerflick 26 минут назад
Thanks for this video! Would love to see a video that shows you upgrading a real project that uses ShadCn/UI. For me, it does not work at all as the radix-references fail. As a relatively new NextJS developer, this would be very helpful to see how to deal with "third party" packages when upgrading.
@emanuel_larini
@emanuel_larini 3 часа назад
This is like putting new tires in your car that the manufacturer didn't approve yet. It must be insane to install and use that package for now. Now try explaining to the Jr of your team why he can't depend on alpha/beta/rc now haha
@brennan123
@brennan123 13 минут назад
Thank god they are finally getting rid of their ridiculous caching by default BS. That was such a bad decision on their part. The other thing that annoyed and shocked me was when I was doing a build and it was trying to connect to my database. I was like WTF, why are you trying to access my DB at build time?
@vraudio.
@vraudio. 5 часов назад
This release was really unexpected.
@RealOscarMay
@RealOscarMay 2 часа назад
I love clerk!!! The only problem is that the UI is outdated in the pure js library
@leoryzap
@leoryzap 5 часов назад
Fantastic changes, thank god
@AVidhanR
@AVidhanR 5 часов назад
Finally his video came out.
@Artoooooor
@Artoooooor Час назад
Thanks for the info.
@coder_one
@coder_one 2 часа назад
Still deployment Next.js outside vercel is nightmare…
@SwoopWoW
@SwoopWoW 33 минуты назад
By design. I wouldn't hold my breath on that ever changing.
@DefaultName-nv3pr
@DefaultName-nv3pr 5 часов назад
How do you switch from the current app to the browser? how did you asigned the hotkey?
@mieszkogulinski168
@mieszkogulinski168 2 часа назад
15:39 - what is the difference between using the after API, and simply creating a Promise and not awaiting it?
@IvanRandomDude
@IvanRandomDude 4 часа назад
Looks like I will have to wait some time to upgrade since framer-motion code breaks after upgrade. Won't even build. Complains that className is not valid anymore on motion elements. Might be a simple fix but I would rather not risk breaking the live env.
@NicholasYg
@NicholasYg 2 часа назад
You need to update framer motion to v12 canary to fix that className type issue. Still not recommended to upgrade to Next v15 since React 19 stable isn’t out yet
@predaytor
@predaytor 2 часа назад
No, thanks. Remix (React Router) is the only sane way.
@Adityacode
@Adityacode 2 часа назад
Exactly 🤝
@xxXAsuraXxx
@xxXAsuraXxx 20 минут назад
no tanstack router is the way
@devinlauderdale9635
@devinlauderdale9635 3 часа назад
you can tell theo woke up in a panic at his "next 15 released" alarm because his hair doesn't look perfect in this video
@11WicToR11
@11WicToR11 3 часа назад
29:05 ...can someone help me how to zoom like this? is it some bind of recording software you are using (probably OBS?) or is it something i could achieve with basic macos screen recording?
@dukkcc2
@dukkcc2 3 часа назад
2:04 cat!!!!
@Tolg
@Tolg 6 часов назад
Really excited about this version
@yozhis1
@yozhis1 9 минут назад
cant wait to pay vercel
@andndre
@andndre 4 часа назад
coooll
@AlucardNoir
@AlucardNoir Час назад
Next.js 15, because object oriented langues didn't die in the 90s.
@rohanshah7330
@rohanshah7330 2 часа назад
clerk is doing evil shit with their pricing lately. you need to pay for their super premium tier in order to impersonate users - something which is tablestakes in other auth provdiers
@nahasco
@nahasco 3 часа назад
How do you so quickly siwtch windows between editor and browser?
@techwithib
@techwithib 4 часа назад
Clerk is so good
@oscarhagman8247
@oscarhagman8247 2 часа назад
I haven't even learned nextjs 14 yet 💀
@TheHermitHacker
@TheHermitHacker 3 часа назад
They dropped it early because Svelte 5 dropped.
@termorey
@termorey 3 часа назад
And turbopack not working in dev with next typed routes =..=
@AvanaVana
@AvanaVana 3 часа назад
18:30 ok sure, but that is really not difficult code…. looks like every form data submission function I ever wrote back in vanilla JS and jQuery days 23:50 “weird concerns”? Really? This is one of the most popular react metaframeworks out there, with massive adoption by junior devs and total n00bs…huge target for malicious actors looking to affect a large number of sites with a single exploit. Nothing “weird” about such concerns.
@k1ngydoteth403
@k1ngydoteth403 5 часов назад
Next image background size cover when?!
@nwsome
@nwsome 4 часа назад
A long time ago?
@developer217
@developer217 2 часа назад
what?
@nwsome
@nwsome 2 часа назад
@@developer217 There's a 'fill' prop, an 'objectFit' style, and if you need your image as background, you can do it with the 'getImageProps' function
@NickAnisimov
@NickAnisimov 2 часа назад
​@@developer217 There's the `objectFit` style, the `fill` prop, and if you want your image as background, you can do it with the `getImageProps` function. What else is missing?
@NickAnisimov
@NickAnisimov 2 часа назад
There's the `objectFit` style, the `fill` prop, and if you want your image as background, you can do it with the `getImageProps` function. What else is missing?
@abhisheknavgan6829
@abhisheknavgan6829 4 часа назад
leave NEXT js for a sec. 2:11 nice cat dude, what's her/his name?
@oscarmugambi
@oscarmugambi 4 часа назад
12:01 Anyone know how to set up that hotkey Theo uses to switch between VSCode and Chrome in one click?
@akifbasormanc5131
@akifbasormanc5131 9 минут назад
What is the site at 11:10 ?
@ticeicebby
@ticeicebby 6 часов назад
Hi Mr Mustache!
@monogram6357
@monogram6357 11 минут назад
i will use astro 😂
@drosi1994
@drosi1994 4 часа назад
Are you sure that clerk supports Next 15? I tried it and it does not work
@drosi1994
@drosi1994 4 часа назад
it works but in canary version
@N3m3s7s83
@N3m3s7s83 5 часов назад
From a mere technical and un-opinionated pov it seems that for the most part they just fixed some "dumb" bugs or weird decisions/assumptions they have made in the last 14 versions... (14!!). I'm not blind: I can see why a lot of peoples are using Nextjs and why there is a lot of hype everytime they just "fix" something that in another stack regular devs will throw a pile of s...t against, but from a dev which is actively in the industry for 20 years sorry, but I still don't buy it (but this is just imho): when they release Next16 maybe they will point at all the mistakes done in Next15... However I recognized that is still a framework with a lot of features, especially for modern frontend (but I do not understand why not using Vite as default btw) when other "batteries included" solutions don't have such solid concepts (or at least into the core and maintained by core team members). Happy coding everyone!
@shanemarchan658
@shanemarchan658 5 часов назад
facts. Ive try to move away from using next, too much changes.
@mickomagallanes1185
@mickomagallanes1185 3 часа назад
I was so hyped about 13 and 14 but it really is painful. Especially the default caching in 14. Vercel made programming stupidly more complicated. If they want devs to experience the cool things of Server Components, Server Actions, then just implement it and hide from us. I'm switching to Remix and I hope they will do RSC better than Vercel's
@mickomagallanes1185
@mickomagallanes1185 3 часа назад
So another batch of complicated cache features that are broken and full of bugs? Thanks Vercel!
@hello19286
@hello19286 Час назад
skill issues
@utubes720
@utubes720 37 минут назад
Maybe I’m in “enemy territory” here, but NextJS just feels like the continuation of “web dev is a hot mess”. Crappy dev tooling and DX. Is there a better framework for someone building SaaS apps and “not building facebook”?
@JohnRodDondoyano
@JohnRodDondoyano 6 часов назад
4th
@eomer.17
@eomer.17 5 часов назад
You don't need this stupid framework to make a website.
@srujangurram
@srujangurram 5 часов назад
Fr! All in with Php and spring boot
@naughtiousmaximus7853
@naughtiousmaximus7853 4 часа назад
@@srujangurram how do you combine the two?
@pratik92
@pratik92 3 часа назад
Don’t use it and save the hate.
@null_spacex
@null_spacex 2 часа назад
You do not, but I like it, works well for me, I enjoy using it, and it earns me 6+ figures every year.
@adeidara9955
@adeidara9955 28 минут назад
You don’t need code to write a website. I just telepathically send all of my html css and js and render them in my clients mind.
@kevas777
@kevas777 5 часов назад
Vercel started pay money again?)
@TerrenceLP
@TerrenceLP 4 часа назад
Next! 😂😂😂
@saurabhraturi7940
@saurabhraturi7940 6 часов назад
First😊
@Zeilar
@Zeilar 6 часов назад
He did it!
@smilebig3884
@smilebig3884 32 минуты назад
Clerk is shit
Далее
React Doesn't Scale
1:05:15
Просмотров 51 тыс.
Massive StarCraft II Patch
38:53
Просмотров 9 тыс.
How a Hydrogen Breakthrough is Closer Than Ever
11:51
Lucid Air Pure: The Real Tesla Fighter!
13:50
Просмотров 382 тыс.
There's Something Weird About ChatGPT o1 Use Cases...
21:05
Sqlite Is Getting So Good
28:52
Просмотров 49 тыс.
Next.js 15 is here! Does it fix Next 14?
10:29
Просмотров 3,3 тыс.
THAT’S What I’m Talkin’ About
9:14
Просмотров 355 тыс.