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
@jensadria2 ай бұрын
He's been Vercel cordyceps-ed, there's no saving him
@nixoncode2 ай бұрын
another day to remind you that influencers are people too
@bmdavis4192 ай бұрын
to your knowledge
@colonelchubbers2 ай бұрын
@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?
@devagr2 ай бұрын
Glad to see you coming to the dark side
@bmdavis4192 ай бұрын
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
@kizigamer68952 ай бұрын
Me still use React but not Nextjs go with all Astro
@bmdavis4192 ай бұрын
@@kizigamer6895 yea react is my go-to for astro
@AlanDanielx24 күн бұрын
too bad you left sveltekit
@bitkidd2 ай бұрын
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.
@lqhuy2 ай бұрын
server components are the best thing that happen in my web dev journey 😅
@kizigamer68952 ай бұрын
Can you please explain difference in server components and how Astro does it!!!
@sebs45912 ай бұрын
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?
@bmdavis4192 ай бұрын
thats a great question, I'm pretty sure u only need one, I just added both to be safe lol
@ivilleinc59492 ай бұрын
Which llm are you using
@lucasalmeida57902 ай бұрын
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.
@peteremad52282 ай бұрын
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
@bmdavis4192 ай бұрын
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
@evangeloskaravasileiadis15822 ай бұрын
People will eventually come around, App router is really nice! This feels like React hooks 2.0
@furycorp2 ай бұрын
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.
@DanteMishima2 ай бұрын
I've been hunkering down and working on my php/laravel and life has never been more enjiyabwj6
@lifeofdandotme2 ай бұрын
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.
@bmdavis4192 ай бұрын
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
@RootsterAnon2 ай бұрын
That's why Nuxt3 is the GOAT!
@devonkiss15 күн бұрын
I jumped in head first at v 14. Vercel did very well on their current iteration.
@luisfeliperodrigues78312 ай бұрын
idk, still thinking that the future of the web its something like blazor or most sure Phoenix Liveview
@SonAyoD2 ай бұрын
How you invalidate server actions though?
@bmdavis4192 ай бұрын
router.refresh() I believe
@hamm89342 ай бұрын
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.
@DevlogBill2 ай бұрын
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?
@bmdavis4192 ай бұрын
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)
@DevlogBill2 ай бұрын
@@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.
@lcarv202 ай бұрын
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.
@bmdavis4192 ай бұрын
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
@nested93012 ай бұрын
i use nuxt
@bmdavis4192 ай бұрын
also very good, tested it out a while ago, really great framework
@jyjyjyj32 ай бұрын
I predict that in a year he will switch to Next
@bmdavis4192 ай бұрын
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 :)
@R0cky02 ай бұрын
next year Remix
@calvint6782 ай бұрын
Ah someone just got sponsored by vercel lol
@bmdavis4192 ай бұрын
i wish lol, but no. I have zero affiliation with vercel other then I love what they build
@Adanjakub2 ай бұрын
no way
@bmdavis4192 ай бұрын
I was just as surprised lol, not adopting for my flagship projects (yet), but still is SO MUCH BETTER then I remembered
@rashzh55022 ай бұрын
it was said that you would destroy the sith not join them
@Dino-Kupinic2 ай бұрын
nuxt >>>
@mr.random84472 ай бұрын
Yeah, I can't wait for Svelte 5. Dislike Svelte before 5 (aka now)
@DeveloperMan_2 ай бұрын
bro you are growing up out of svelte i'm telling you its just a phase