Does anyone have examples of what you consider to be well-architected react / node apps? Or just individual patterns you really like? I’m thinking about things like: - folder structure and naming - component breakdown and composition - routing patterns (front end and backend) - error handling - custom hook abstractions - protected routes / auth enforcement
For background: We’ve been building a number of SPA apps at work on a React / Vite / Fastify / tRPC stack and although I love the flexibility and devEx, I’ve found that it’s causing a certain amount of bikeshedding and ad-hoc architectural patterns to form, especially when we build similar features in parallel, so I’m curious how everyone else is leveling up their architectural sensibilities?
Comments URL: https://news.ycombinator.com/item?id=40741304
Points: 42
# Comments: 19
Zaloguj się, aby dodać komentarz
Inne posty w tej grupie
![Tripping on Xenon Gas](https://www.cdn5.niftycent.com/a/1/B/q/A/6/w/tripping-on-xenon-gas.webp)
Article URL: https://tripsitter.substack.com/p/xenon
Comments URL: https://news
![Show HN: Voice bots with 500ms response times](https://www.cdn5.niftycent.com/a/1/G/w/v/y/G/show-hn-voice-bots-with-500ms-response-times.webp)
Last year when GPT-4 was released I started making lots of little voice + LLM experiments. Voice interfaces are fun; there are several interesting new problem spaces to explore.
I'm convinced th
![Eplot: A new package for making charts in Emacs](https://www.cdn5.niftycent.com/a/1/0/B/X/g/6/eplot-a-new-package-for-making-charts-in-emacs.webp)
![Federal whistleblowers are entitled to damages of missed future pay, court rules](https://www.cdn5.niftycent.com/a/e/j/B/M/a/d/federal-whistleblowers-are-entitled-to-damages-of-missed-future-pay-court-rules.webp)
Article URL: https://www.govexec.com/pay-benefits/2024/06/f
![Confidentiality in the Face of Pervasive Surveillance](https://www.cdn5.niftycent.com/a/k/A/r/A/4/o/confidentiality-in-the-face-of-pervasive-surveillance.webp)
Article URL: https://datatracker.ietf.org/doc/html/rfc7624
![AI Revolutionized Protein Science, but Didn't End It](https://www.cdn5.niftycent.com/a/1/q/6/Z/m/8/ai-revolutionized-protein-science-but-didn-t-end-it.webp)