You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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/SomeComponent in my imports
Maybe introduce small state management (e.g. zustand)
Probably some other stuff
But before doing any of this, and arguably more important:
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:
SomeComponent/SomeComponentin my importsBut before doing any of this, and arguably more important:
Write testsI'll take the risk