React Kinda Peaked in 2022...

  Рет қаралды 2,806

Ben Davis - Tech

Ben Davis - Tech

Күн бұрын

Wanted to quickly go over why I added TRPC back to my NextJS project, even with App Router and Server Actions.
Its still the goat for React Apps.
repo I showed off in this vid: github.com/bmdavis419/weights-ai

Пікірлер: 31
@samuelm2934
@samuelm2934 Ай бұрын
Bro is getting hired based on how often he had rewritten his projects
@devagr
@devagr Ай бұрын
lol love seeing your trajectory from t3 -> sveltekit -> RSCs -> t3
@bmdavis419
@bmdavis419 Ай бұрын
Right now its actually 2 stacks: Sveltekit & RSCs + t3 Using both of them for real stuff, I still kinda (although less and less) prefer SvelteKit, RSCs are just so goated for the AI stuff
@kirso
@kirso Ай бұрын
@@bmdavis419 why less and less?
@bmdavis419
@bmdavis419 Ай бұрын
@@kirso Because the AI sdk + RSC is just so fucking cool lol and I do like react components, although I like svelte load functions and stuff so idk the actual answer is im using both an will continue to do so
@kirso
@kirso Ай бұрын
@@bmdavis419 Makes sense, thanks for the answer! I think AI SDK is also available for Sveltekit? They also have a template but yeah, no server components, is it a large limitation though?
@bmdavis419
@bmdavis419 Ай бұрын
@@kirso Yea its there for Svelte (and I still need to officially try it lol), but the way it works with Next is just sublime, the RSCs make so much sense for the model
@jjrise
@jjrise Ай бұрын
I’ve literally come full circle back to tRPC too. It’s just so good and checks all the boxes that it’s hard to not use it any more.
@nevillebrem
@nevillebrem Ай бұрын
glad you're back!
@aurorasofie
@aurorasofie Ай бұрын
Hi! What’s your reasoning for picking react query instead of awaiting server-only functions and suspending for loading states? You wouldn’t need effects for that.
@bmdavis419
@bmdavis419 Ай бұрын
This file illustrates it pretty well: github.com/bmdavis419/weights-ai/blob/main/src/components/schedule/ManageSchedule.tsx
@maddada
@maddada Ай бұрын
Would love a tutorial about a simple app built using this way. Server actions are still not there from my experience..
@bmdavis419
@bmdavis419 Ай бұрын
Start here for sure: create.t3.gg/, I'll definitely make an AI SDK tutorial once mine is really publicly launched!
@SR-ti6jj
@SR-ti6jj Ай бұрын
t4 stack is still undefeated
@asadmehboob1300
@asadmehboob1300 Ай бұрын
T4?
@JakobRossner-qj1wo
@JakobRossner-qj1wo Ай бұрын
What is T4?
@scott_itall8638
@scott_itall8638 Ай бұрын
In waiting for svelte 5, I have learnt Laravel and it’s amazing lol.
@justine_chang39
@justine_chang39 Ай бұрын
yes! tRPC is really good
@jugurtha292
@jugurtha292 Ай бұрын
Im in a similar situation to you when you swapped from Go/Ts to just Ts. Could you talk about why you found it more appealing to move to fullstack ts instead of fullstack Go.
@bmdavis419
@bmdavis419 Ай бұрын
This vid breaks it down pretty well: kzbin.info/www/bejne/rJ_OqoCZrJWHkKc, TLDR: its too much boilerplate for a small team and TS works fine lol
@jugurtha292
@jugurtha292 Ай бұрын
​@@bmdavis419 That's the thing, i can't give up react. Shadcn and remix are just too good to give up, But Go has a great lsp, linter, stlib and great packages. I think i will try building fullstack projects with both when i have time and see what works for me.
@user-tb4ig7qh9b
@user-tb4ig7qh9b Ай бұрын
Next-Safe-Action
@yashrajjaiswal9941
@yashrajjaiswal9941 Ай бұрын
t3 stack and trpc are just amazing ,until you need to setup web sockets 😆 the documentation isn't that great. Has anyone tried it??
@bmdavis419
@bmdavis419 Ай бұрын
idk if they are even possible in a serverless env, u probably have to make a seperate server (Go would be fire here) or use a service
@developerpranav
@developerpranav Ай бұрын
I've preferred trpc over server actions for another big reason - waterfall in server actions because of concurrency limits: kzbin.info/www/bejne/eXW9mGajlrFsp5I This was a huge deal for my application, and just gave up on server actions after that except for some non crucial things because they are just so easy to setup and use.
@jeffreysmith9837
@jeffreysmith9837 Ай бұрын
Htmx is better
Picking a Database is Hard...
17:43
Ben Davis - Tech
Рет қаралды 5 М.
Coding Was Hard Until I Learned THESE 5 Things!
8:02
Nick White
Рет қаралды 23 М.
Is it Cake or Fake ? 🍰
00:53
A4
Рет қаралды 20 МЛН
Just try to use a cool gadget 😍
00:33
123 GO! SHORTS
Рет қаралды 85 МЛН
Luck Decides My Future Again 🍀🍀🍀 #katebrush #shorts
00:19
Kate Brush
Рет қаралды 7 МЛН
AI SDK 3.1 First Impressions
24:12
Ben Davis - Tech
Рет қаралды 5 М.
Reacting to Controversial Opinions of Software Engineers
9:18
Fireship
Рет қаралды 2 МЛН
astro now has a database!
8:21
Nev the Dev
Рет қаралды 1,6 М.
The Future of Astro is...
19:09
Astro
Рет қаралды 10 М.
5 Things I Wish I Knew When I Started Using SvelteKit
7:27
Ben Davis - Tech
Рет қаралды 10 М.
Mobile App Development is Hard
16:29
Ben Davis - Tech
Рет қаралды 6 М.
From React To HTMX
40:01
ThePrimeTime
Рет қаралды 304 М.
My biggest complaint about Next.js middleware
7:31
Web Dev Cody
Рет қаралды 6 М.
My "as few deps as possible" monorepo setup
4:03
Matt Pocock
Рет қаралды 30 М.
2024 Supabase + Sveltekit Tutorial (0 to prod)
59:21
Ben Davis - Tech
Рет қаралды 3,4 М.
После ввода кода - протирайте панель
0:18
Lid hologram 3d
0:32
LEDG
Рет қаралды 7 МЛН
Cadiz smart lock official account unlocks the aesthetics of returning home
0:30
Нашел еще 70+ нововведений в iOS 18!
11:04
WWDC 2024 Recap: Is Apple Intelligence Legit?
18:23
Marques Brownlee
Рет қаралды 6 МЛН