The New NextJS Surprised Me...

  Рет қаралды 5,374

Ben Davis - Tech

Ben Davis - Tech

Күн бұрын

RSCs and the new NextJS are WAY better then I thought
the weights AI example: github.com/bmdavis419/weights-ai
my stuff
discord: / discord
x (twitter): / bmdavis419
insiderviz: www.insiderviz.com
blok: www.theblokapp.com

Пікірлер: 55
@jensadria
@jensadria 2 ай бұрын
He's been Vercel cordyceps-ed, there's no saving him
@nixoncode
@nixoncode 2 ай бұрын
another day to remind you that influencers are people too
@bmdavis419
@bmdavis419 2 ай бұрын
to your knowledge
@colonelchubbers
@colonelchubbers 2 ай бұрын
@Ben does the data in the component also get shared with the AI in the message stream? Or do you need to somehow include it as context if you have questions about it?
@devagr
@devagr 2 ай бұрын
Glad to see you coming to the dark side
@bmdavis419
@bmdavis419 2 ай бұрын
Better late then never, I used to be a huge "fuck react" guy, but over the last few months I am getting faced with the hard reality, that react is actually really good
@kizigamer6895
@kizigamer6895 2 ай бұрын
Me still use React but not Nextjs go with all Astro
@bmdavis419
@bmdavis419 2 ай бұрын
@@kizigamer6895 yea react is my go-to for astro
@AlanDanielx
@AlanDanielx 24 күн бұрын
too bad you left sveltekit
@bitkidd
@bitkidd 2 ай бұрын
NextJS is okay right now, I’d say. I personally don’t like aggressive caching approach and patched fetch, inability to properly separate middlewares into files and very, very bad dev server performance.
@lqhuy
@lqhuy 2 ай бұрын
server components are the best thing that happen in my web dev journey 😅
@kizigamer6895
@kizigamer6895 2 ай бұрын
Can you please explain difference in server components and how Astro does it!!!
@sebs4591
@sebs4591 2 ай бұрын
Really cool, will have to finally try Next! I was wondering though why you needed both “use server;” and import “server-only”; in this code. What’s the difference?
@bmdavis419
@bmdavis419 2 ай бұрын
thats a great question, I'm pretty sure u only need one, I just added both to be safe lol
@ivilleinc5949
@ivilleinc5949 2 ай бұрын
Which llm are you using
@lucasalmeida5790
@lucasalmeida5790 2 ай бұрын
I think its good to have this mentality, I love svelte/sveltekit but its not a good thing to be stuck on only one technology always, we should always keep in mind that in the end all of this is Javascript. Being able to adapt is always good because this is just the reality of our field. Things change so fast its hard to keep the pace but we gotta do what we gotta do, just keep making good videos! Its always a win to share new thoughts and create discussions around it! Keep up the good work.
@peteremad5228
@peteremad5228 2 ай бұрын
what your opinion about Nuxtjs ? i feel each one of them has his own areas to be powerfull but i like nuxtjs the most cause of vue i like sveltekit but i didn't like svelte itself
@bmdavis419
@bmdavis419 2 ай бұрын
If you like vue but not svelte, then use Nuxt! Its great ive tested it a bunch and had good success, I just prefer SvelteKit and Next
@evangeloskaravasileiadis1582
@evangeloskaravasileiadis1582 2 ай бұрын
People will eventually come around, App router is really nice! This feels like React hooks 2.0
@furycorp
@furycorp 2 ай бұрын
just wait until the next big paradigm shift and you have to rewrite your app. nextjs still has a ways to go until it has DX of a symfony or laravel and I say that as full-stack TS who writes a ton of react. at the rate of vercel's 'innovation' and endless tweaks to snake towards lock in, you'll have rewritten major parts several times after a few years if you want to keep with current versions.
@DanteMishima
@DanteMishima 2 ай бұрын
I've been hunkering down and working on my php/laravel and life has never been more enjiyabwj6
@lifeofdandotme
@lifeofdandotme 2 ай бұрын
I like nuxt better, but I’m very glad you found something fun. :) I do think that for junior devs just getting started that these kind of frameworks are quite confusing and I do feel a bit bad for them. It is hard for them to grok when things happen on the backend or the frontend when they are both in the same file sometimes.
@bmdavis419
@bmdavis419 2 ай бұрын
Yea I started working on a modern JS rendering video and holy hell putting it on paper is kinda crazy, its second nature for me at this point, but if I was new this would be ROUGH
@RootsterAnon
@RootsterAnon 2 ай бұрын
That's why Nuxt3 is the GOAT!
@devonkiss
@devonkiss 15 күн бұрын
I jumped in head first at v 14. Vercel did very well on their current iteration.
@luisfeliperodrigues7831
@luisfeliperodrigues7831 2 ай бұрын
idk, still thinking that the future of the web its something like blazor or most sure Phoenix Liveview
@SonAyoD
@SonAyoD 2 ай бұрын
How you invalidate server actions though?
@bmdavis419
@bmdavis419 2 ай бұрын
router.refresh() I believe
@hamm8934
@hamm8934 2 ай бұрын
All roads lead to Vue and Nuxt. If Vue had daddy vercel money behind it, it wouldnt even be a question. Nuxt is years ahead of next and svelte. Glad next server components are finally starting to catch up to nuxt’s useFetch hook.
@DevlogBill
@DevlogBill 2 ай бұрын
Look at you! Switching technologies 😂 In the future will you ever use Go again for creating a project? Or it’s too soon to tell?
@bmdavis419
@bmdavis419 2 ай бұрын
It's actually in production right now and is being updated to be used in more places, love it for background workers, just not websites for now (if we need to scale eventually sure, but not for now)
@DevlogBill
@DevlogBill 2 ай бұрын
@@bmdavis419 Well, keep up the good work. Would be cool to hear your point of view as your using Next and your experience with it. Also, would be interesting to hear how Next works with React. Pro's & Con's from your point of view.
@lcarv20
@lcarv20 2 ай бұрын
Great vid 🎉, nowadays people put everything black and white when in reality frameworks exist to solve specific problems. I have been working with next14 since it came out, and it’s nice, I still prefer svelte over next because of it’s syntax, but at this point I think I just hate the jsx model rather than the framework. The thing I dislike about next is that each version is a drastic change from the previous versions, so maintainability is harder comparatively to other frameworks, that’s it. When it comes to innovative ideas I really like what next team is doing, but on the other hand they have to remember that nextjs is not playground for testing new features every half a year. In any case, I definitely agree withy you, use whatever makes you the most productive.
@bmdavis419
@bmdavis419 2 ай бұрын
Yea next and react do change a lot, but honestly I think its fine because its always backwards compatable. You can still ship pages if u want (I do), but the new stuff is available, and I'm a huge fan of that
@nested9301
@nested9301 2 ай бұрын
i use nuxt
@bmdavis419
@bmdavis419 2 ай бұрын
also very good, tested it out a while ago, really great framework
@jyjyjyj3
@jyjyjyj3 2 ай бұрын
I predict that in a year he will switch to Next
@bmdavis419
@bmdavis419 2 ай бұрын
the honest answer is that some of the stuff I'm building is gonna be next, some is gonna be SvelteKit, some might be something else. At this point I build so much stuff and have spent so much time with so many frameworks that I can competently use several different ones for different purposes The weights app is probably gonna be real, and its gonna be a next app :)
@R0cky0
@R0cky0 2 ай бұрын
next year Remix
@calvint678
@calvint678 2 ай бұрын
Ah someone just got sponsored by vercel lol
@bmdavis419
@bmdavis419 2 ай бұрын
i wish lol, but no. I have zero affiliation with vercel other then I love what they build
@Adanjakub
@Adanjakub 2 ай бұрын
no way
@bmdavis419
@bmdavis419 2 ай бұрын
I was just as surprised lol, not adopting for my flagship projects (yet), but still is SO MUCH BETTER then I remembered
@rashzh5502
@rashzh5502 2 ай бұрын
it was said that you would destroy the sith not join them
@Dino-Kupinic
@Dino-Kupinic 2 ай бұрын
nuxt >>>
@mr.random8447
@mr.random8447 2 ай бұрын
Yeah, I can't wait for Svelte 5. Dislike Svelte before 5 (aka now)
@DeveloperMan_
@DeveloperMan_ 2 ай бұрын
bro you are growing up out of svelte i'm telling you its just a phase
@bmdavis419
@bmdavis419 2 ай бұрын
haha we will see
How and Why I Rebuilt my SAAS App
13:24
Ben Davis - Tech
Рет қаралды 553
Can SQLite be Used in Real Projects?
5:38
Ben Davis - Tech
Рет қаралды 4,2 М.
Tom & Jerry !! 😂😂
00:59
Tibo InShape
Рет қаралды 52 МЛН
WHO DO I LOVE MOST?
00:22
dednahype
Рет қаралды 23 МЛН
Wait for the last one! 👀
00:28
Josh Horton
Рет қаралды 104 МЛН
Learn DATA ANALYTICS domain in 7 days ( Resources Included)
9:57
Meet Jeff Delaney: The Mastermind Behind @Fireship
16:02
Honeypot
Рет қаралды 296 М.
Supabase just shipped a LOT of cool stuff...
15:31
Ben Davis - Tech
Рет қаралды 3,3 М.
i didn't know these svelte tips
18:56
Nev the Dev
Рет қаралды 2,9 М.
Giving Up On Next.js | Theo Reacts
44:49
Theo - t3․gg
Рет қаралды 112 М.
You don't need a frontend framework
15:45
Andrew Schmelyun
Рет қаралды 107 М.
5 Things I Wish I Knew When I Started Using SvelteKit
7:27
Ben Davis - Tech
Рет қаралды 10 М.
Why Rust is NOT a Passing Fad...
8:54
Travis Media
Рет қаралды 29 М.
Everyone's Making Fun of Next.js 14.0
7:16
Josh tried coding
Рет қаралды 133 М.
Mobile App Development is Hard
16:29
Ben Davis - Tech
Рет қаралды 6 М.
💅🏻Айфон vs Андроид🤮
0:20
Бутылочка
Рет қаралды 716 М.
Купил этот ваш VR.
37:21
Ремонтяш
Рет қаралды 297 М.
🔥Идеальный чехол для iPhone! 📱 #apple #iphone
0:36
Не шарю!
Рет қаралды 1,3 МЛН
Игровой Комп с Авито за 4500р
1:00
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 240 М.
YOTAPHONE 2 - СПУСТЯ 10 ЛЕТ
15:13
ЗЕ МАККЕРС
Рет қаралды 63 М.