Content
@
0 reply
0 recast
0 reaction
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 🎩
@jpfraneto.eth
can you share the code for an example component that has this?
1 reply
0 recast
0 reaction
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 ツ
@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 🎩
@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 ツ
@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
Fucory
@fucory
Fwiw if you use remix in spa mode you can’t do the loader stuff mentioned in the original post. The original post is describing an extremely well architected server rendered app leaning into the great react opinions remix pushes you towards
1 reply
0 recast
4 reactions