🎯
Best practices
Here are some of the recommendations to achieve optimal code quality and to follow best practices.
- Don't hesitate extracting nested code into new React Components
- Code organization tips
- Consider state machines over simple boolean states
- Don't extract function props outside render just because
- Make proper user of React Children
- Authed CRUDs should be user centric
- Prefer adding tRPC queries over
/api/..
endpoints onweb
TODO: Expand each of these bullet points
Last modified 13d ago