I've been waiting for t3 stack to update to the app router myself. Happy to see this! especially since it also comes with shadcn ui and drizzle. Will definitely use this for the next side project!
haha kind of revisiting that one project from like a year ago :D Honestly, I'm unsure of whether or not drizzle makes sense for these more involved videos. I decided to go with Prisma for the next to not overwhelm beginners with all the new tools, just makes it much easier to follow along. That said, drizzle is really fun to write and I use it in all my personal projects
Another fantastic video. Thanks josh....i have a similar set up that makes it possible to use tRPC both in client and server components...tRPC is rising again guys!
Yes @anonanon7368 is right. But kirimase generates regular functions for every action (which are the single source of truth btw) and these be used on the server. That is pretty neat imho
@@anonanon7368 , for the benefits its a very small loss. I dont see much difference in hitting db query alone or hitting api+db when db query alone is 95% of work most of the time. Also, api lets me play with caching responses much easier, which will save a lot of db query executions, thus reducing the load on server(s) in the long run
Why there is no one project builder that helps setup all popular dev tools? I like Vite currently but why all builders support a really limited set of tools. For instance: Vite doesn't add Taiwind for you, although it's really simple task. I'm asking because I thought there might be an already existing solution that I don't know of. In an ideal situation, I imagine it would be covering from choosing the package manager to installing libraries and picking config files templates (TS, Nodemon, postcss, etc)
6:41 - 6:50 it doesn't recognize it as an array. ERROR: Property 'map; does not exist on type '{ computers: { id: number; brand: string; cores: number; }[]; }'.
Same here, I even provided error details a few days ago but for some reason my comment doesn't show up here. I've tried on two different machines (PC and Mac).
@replicant9611 @@unfocuseddev4921 double check that you don't have two app directories. I've run into the issue before where you install shadcn-ui without updating the path to the globals.css file (if you're using src directory), and it creates a new app directory with a globals.css file. Nextjs will then prioritise that directory over the original.
@@nicoalbanese10 Thanks man, that was it, it runs fine now! Now I see that the author of kirimase indeed changes the default directory in his video presentation, but Josh skips that part of the configuration in his video. I'm surprised me and @replicant9611 were the only ones to run into this problem - looks like the other people commenting were either smart enough to realise that the default path needs adjusting or didn't run the cli themselves.
I wonder why I have to use all of these things, where I can just init an app with next.js and supabase and get all this benefits without any additional packages or work, to be specific (I'm taking about database, storage and auth with type safety all over it, client and server with supabse type generator)!?
hmm it mostly comes down to being flexible on your setup. Not everybody is a tRPC fan, neither with any tool out there. I really like that it's all opt-in instead of shipping by default, makes the core project pretty slim
most times you'll be thrown into some sort of existing code and just go with what the team has already figured out. If you start a project from scratch, I usually keep all library-related stuff in a lib folder and some helpful functions inside of a utils folder
have never used it, it caters more towards beginners that like to stay involved in the vercel ecosystem. That's not a bad thing at all, the setup is very easy. I personally prefer something like planetscale or neon though