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
jtgi
@jtgi
hard to justify not having next.js imo.
1 reply
0 recast
0 reaction
Samuel ツ
@samuellhuber.eth
Anyone can PR that template though I don’t want to use NextJS anymore. Haven’t been a part of too many good NextJs codebases, which is either my own (highly likely) or the clients skill issue (also possible) But usually what one uses should make one write good code vs allowing garbage
1 reply
0 recast
2 reactions