News for hackers. Stuff that matters.
Re:The Epic Stack by nullandvoid on Friday May 12, 2023 @09:48AM (#35916226)
Don't mean to add 1 more to the list, but I would say tRPC is a must have for side projects for me now where I'm not requiring a publicly facing API.

The ability to just define a function on the backend, and it be callable in my frontend, with responses automatically typed is a game changer for building fast.

For me that means https://create.t3.gg/ is the current go-to for starting a new project, but it's definitely missing some pieces this stack has.

Re:The Epic Stack by jlarky2012 on Saturday May 13, 2023 @01:05PM (#35930331)
remix loaders are similar to trpc procedures and provide type safety, but you have to have a bit of a boilerplate there (15 extra characters) when you use it:

const data = useLoaderData<typeof loader>()