Highlight: app.highlight.run/?promo=SIMPLIFIEDHIGHLIGHT Coupon Code: SIMPLIFIEDHIGHLIGHT (This should be automatically filled in as you go through the signup process)
Man, I never get tired of your videos. Your explanations are so clear and to the point, plus they always have tips such as folder organization. Keep up the work!
Thank you Kyle. tRPC was the part of the t3 stack I struggled the most this week and this video helped me so much. Would you mind making something like this about the t3 stack?
Really interesting to see how many traditionally "backend concepts" break into the frontend world. It's a welcome change though, everyone is looking for less error-prone code 🐞
Your explanation is next level as usual ♥️🌟 But I request you to make a video of how to apply TRPC in real world applications . Also the application of web sockets is needed because without that it seems to be empty
I have watched several of your videos. You don't waste time. So when I saw that this video was 45 minutes I decided to leave this comment and go to sleep. This can wait until tomorrow.
Thank you for posting such great content! I learned a lot from all of your videos. They are really really helpful. And I am also shocked you can talk and code at same time keep everything on the track. Is there way to practice such ability ?
1. Every tutorial Kyle creates - always it seems like he knows it since his childhood. You even don't make a pauses to think or to remember something...I have no clue how is it possible at all xD 2. I still didn't get why do we need at all such complicated stuff as tRPC :(( I didn't saw many benefits
Kyle hi love your vids! Can you do one for auto-gen of unittests using plawright and also generates interactive swagger docs from any nextjs app that uses zod, lucia and trpc?
If we are importing AppRouter from server into client, I am unable to understand how are we going to deploy this. We can't deploy react and nodejs separately in this case, right? Please help
Mmmm I glazed over at about the halfway point. It would help me to get more of an architectural outline and the project context in the beginning. You do a great job flying through the code but I'm losing it figuring out the context of each function; when to do what and why. Longtime subscriber and fan here.
Is the code available in some kind of repo anywhere? I'm having troubles with setting up the server and would want to know whats inside of the package.json files and stuff
13:44 Is it possible to create several routers though and attach them to different endpoint to separate between the apps in a more complex setup? Or it's a technical limitation of TRPC?
I'm at min 16 right now but I just did what you say and it works, you just have to create another "client" in the client side and pass the router to the createTRPCProxyClient function.
Using await at the top level requires a lot of changes to your "package.json" and your "tsconfig.json" files. Most of these changes involve forcing node to use newer module types and break a lot of other libraries that you may have in a larger project. You can't use node's popular "require" function for example to do imports.
@@douglascounts4634 thank you so much for the detailed answer. I had some issues with the compiler yelling at me about that and that makes total sense in that context. :)
"Impossible" even though we were doing it 20 years ago, in java of all languages (yes, type safe to the client via cross compilation; gwt was exciting back when google was credible) There are *HUGE* downsides to this tightly coupled monolithic approach and being JS/TS isn't even one of them! If you need to mash out a simple app in a week or 2? Great. Need an app that will more than a year or 2? Not so much.
Highlight: app.highlight.run/?promo=SIMPLIFIEDHIGHLIGHT
Coupon Code: SIMPLIFIEDHIGHLIGHT (This should be automatically filled in as you go through the signup process)
Man, I never get tired of your videos. Your explanations are so clear and to the point, plus they always have tips such as folder organization. Keep up the work!
Thank you Kyle. tRPC was the part of the t3 stack I struggled the most this week and this video helped me so much. Would you mind making something like this about the t3 stack?
Really interesting to see how many traditionally "backend concepts" break into the frontend world. It's a welcome change though, everyone is looking for less error-prone code 🐞
Thanks once again Kyle for this tRPC tutorial. I'm going to learn about this on Friday or Saturday evening.
Thank you. tRPC is something I have always wanted to learn about.
It would be cool if you make a crash course for t3 stack too
The last part about websockets was something i really needed, thanks for making this explainer.
Your explanation is next level as usual ♥️🌟
But I request you to make a video of how to apply TRPC in real world applications .
Also the application of web sockets is needed because without that it seems to be empty
T3 stack tutorial needed!
At min 16 coding along just amazed how good this is
mind blown, thanks!
I think tRPC can be the new standard for building APIs!! 🤔
Thanks Kyle!.. just wanted to also review Prisma and... look at that, you have a tutorial about Prisma as well :D
Dude just been looking to learn this and boom, here's your video. Gracias sir.
Thanks, this video is the best support to tRPC docs.
Excellent tutorial, thanks!
Perfect, just when I needed it!
Thanks so much for this.
I asked for this, and it happned. Thank you :)
Kyle, I need some solidity videos from you! ❤🧡💛💚💙💜
very efficient tutorial.... love this style.
Anyone watching this anytime from now , you should know that the trpc is now v11 while it was v10 in this video so check the documentation
I have watched several of your videos. You don't waste time. So when I saw that this video was 45 minutes I decided to leave this comment and go to sleep. This can wait until tomorrow.
Thank you so much buddy!
Thankyou soo much Kyle.
Thanks a lot
Thanks! Great explanation!
Was actually waiting for this. Thank you so very much.
thanks,. that's really cool way of doing things syncing frontend requests wiith serverside is godsend. i hope trpc gets more traction and adoption.
that was so helpful for me thank you
Thank you for posting such great content! I learned a lot from all of your videos. They are really really helpful. And I am also shocked you can talk and code at same time keep everything on the track. Is there way to practice such ability ?
He's got the ready made code on another monitor that he's already proofed. You can tell because he looks to the side before he writes something new.
¡Gracias! Thanks
¡De Nada! You are very welcome.
1. Every tutorial Kyle creates - always it seems like he knows it since his childhood. You even don't make a pauses to think or to remember something...I have no clue how is it possible at all xD
2. I still didn't get why do we need at all such complicated stuff as tRPC :(( I didn't saw many benefits
Wooo thanks man!
Out of curiosity, why don't you use node --watch instead of nodemon
Thanks Kyle
thanks bruv
Kyle hi love your vids! Can you do one for auto-gen of unittests using plawright and also generates interactive swagger docs from any nextjs app that uses zod, lucia and trpc?
If we are importing AppRouter from server into client, I am unable to understand how are we going to deploy this. We can't deploy react and nodejs separately in this case, right?
Please help
Yes, I am glad it's getting popular. It's an amazing magic.
So, with this and the prisma course, are you leaning towards T3?
What if backend and Frontend have separate repos
❤ Love you man!
I watch at 0.75 speed))
Mmmm I glazed over at about the halfway point. It would help me to get more of an architectural outline and the project context in the beginning. You do a great job flying through the code but I'm losing it figuring out the context of each function; when to do what and why. Longtime subscriber and fan here.
o n e o f u s
thank you, was thinking of looking to learn more about tRPC :D to use it in my nextjs project
5:33 is throw new TRPCError() not applicable here?
Instead of using cors in the server use a vite proxy less packages and very easy to configure
no. cors is the easiest thing in the world to configure
You must put a privacy policy on your website when you use that and disable it if the user disagrees in the EU.
source?
@@vrechkomaybe they’re talking about the Highlight sponsor? I don’t see anything online related to tRPC needing to be put into the privacy policy
@@Fuzbo_ Yeah might be it. Was genuienly curious if that was true.
i would awesome if we can you this in a separate backend and frontend like php backend and react js frontend
Are you still using this or have you moved to server actions? Would be cool to see you create a project using this!
I have a Twitter clone using tRPC. I have tried moving more to server actions, though, as they work well in many situations.
what if i deploy on vercel but different repo? is it possible?
both needs. to be. in the same repo it seems.
@@metalsadman so, how structure project look like?
Thanks! Thoughts on create-t3-app?
Is the code available in some kind of repo anywhere? I'm having troubles with setting up the server and would want to know whats inside of the package.json files and stuff
thx for your tutorial~ but how can i get the demo you show in the video?
Kyle, can you make a video Abt how to live preview a website template, live bootstrap themes? Please bro.
Hi Kyle. Thanks for this. Is the code available somewhere? I don't see it in your github repository.
Should the server and client in the same server?
30:20 how was the normal way??
webdevs try not to overcomplicate things to shit challenge: impossible xD
we need a new framework to make things simpler
so it is tightly coupled
would it be reasonable to think of this as alternative to React Query ?
33:00 should I worry about sending 'Content-Type': 'application/json' ??
No. TRPC does it for you
Didn't know Robert Paul Champagne was in web development.
13:44 Is it possible to create several routers though and attach them to different endpoint to separate between the apps in a more complex setup? Or it's a technical limitation of TRPC?
I'm at min 16 right now but I just did what you say and it works, you just have to create another "client" in the client side and pass the router to the createTRPCProxyClient function.
Supabase crash course in 45 minutes. Will you make it ?
Gains are noticeable 👍
Why not in next js 😭
Is this trpc v10 tutorial?
Awesome!!!
Theo pushed trpc alot
it's great tech so understandable. problem I'm seeing is when working on a team where peeps work on different repo for backend and frontend.
People hate angular and all other frameworks settle down to patterns from angular!!!
how is trpc a pattern from angular?
9:19
Can you not use top level await here?
Using await at the top level requires a lot of changes to your "package.json" and your "tsconfig.json" files. Most of these changes involve forcing node to use newer module types and break a lot of other libraries that you may have in a larger project. You can't use node's popular "require" function for example to do imports.
@@douglascounts4634 thank you so much for the detailed answer. I had some issues with the compiler yelling at me about that and that makes total sense in that context. :)
NICE! I'm wondering if tRPC and gRPC can be used together 🤔
New hair, who dis
Who gave you the black eye??
It reminds me apollographql
The single repository makes this a non-starter for many. Especially larger team projects.
"Impossible" even though we were doing it 20 years ago, in java of all languages (yes, type safe to the client via cross compilation; gwt was exciting back when google was credible) There are *HUGE* downsides to this tightly coupled monolithic approach and being JS/TS isn't even one of them!
If you need to mash out a simple app in a week or 2? Great. Need an app that will more than a year or 2? Not so much.
your video is obselete now delete this , most of the methods are deprecated that you have used
Wouldn't call it obselete. It's still good if you are learning from scratch but some parts are deprecated and some parts have new/better practises.
ladies and gentlmen: WEB DEVS
I did not find this to be useful. Sorry.
node_modules/@trpc/client/dist/index.mjs:1:43: ERROR: Could not resolve "@trpc/server/observable" anyone?
Yep I can't solve this issue.
@@aghilannathan8169 npm install @trpc/server to the client side. Found the answer, it’s in the official documentation