-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Labels
Description
With this being my first ever react app (in fact, first ever front-end app!), there's a lot of code smell going on. I want to clean this up at some point:
- Remove logic from components - they should more or less just be views
- Remove metadata out of components (a lot of stuff in Card.tsx, for example, that doesnt really belong there)
- Use barrel files (I hate seing
SomeComponent/SomeComponentin my imports - Maybe introduce small state management (e.g. zustand)
- Probably some other stuff
But before doing any of this, and arguably more important:
-
Write testsI'll take the risk
Reactions are currently unavailable