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>()
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.