Content pfp
Content
@
0 reply
0 recast
0 reaction

jtgi pfp
jtgi
@jtgi
I basically quit using hooks and did all data fetching on the server after tasting a codebase without hooks. loader and useLoaderData is prob the single most powerful demo for remix: - backend devs like it cause it’s still js, libraries work, no rsc - frontend gets way simpler with no loading, error, data states littered everywhere - all single file
6 replies
4 recasts
50 reactions

jp 🎩 pfp
jp 🎩
@jpfraneto.eth
can you share the code for an example component that has this?
1 reply
0 recast
0 reaction

jtgi pfp
jtgi
@jtgi
check out remix.run and scroll the home page, it’s a good overview of the principles.
2 replies
0 recast
3 reactions

Samuel ツ pfp
Samuel ツ
@samuellhuber.eth
cc @darrylyeo @downshift.eth I am getting more and more confident the React SPA, Remix + Expo as Frontend samples will be sufficient. Svelte as non react alternative to have one there
2 replies
0 recast
3 reactions

jp 🎩 pfp
jp 🎩
@jpfraneto.eth
is remix similar to vite? @stevedylandev.eth vite pilled me and it’s awesome to set up a react app
2 replies
0 recast
1 reaction

Samuel ツ pfp
Samuel ツ
@samuellhuber.eth
uses vite under the hood. If you're on React + vite then that's the React SPA part I mentioned (thanks @fucory) PS: I forgot astro above lmao. Cool thing is once I built all of the above I can pick a favorite and write a blog post lmao
1 reply
0 recast
2 reactions

jtgi pfp
jtgi
@jtgi
As of last year, Remix is actually “just a vite plugin”, funny enough. But I assume you mean compared to using the react template vite offers. That sets up a client side only app. Remix is client and server, like next, which is way easier overall to build web apps with imo. Try it.
0 reply
0 recast
2 reactions