#Any tips to keep track of React components / Make react more manageable?
12 messages · Page 1 of 1 (latest)
Ideally you'd have a set of basic components that you don't have to touch as frequently (e.g. a button, a card, a datetime picker, whatever) and then you use those to build out your UI
Not so much about having them open at the same time, but then they still fill up the file explorer on the side like that (although for now doesnt look too bad). I get what you mean with this though. 😅
So if i understand correctly about this part, most of the components exist by their own and don't really need to interact with the rest of the components / don't need to be touched once they're in? And there's only a select few main components to keep track of?
If yeah that's quite reassuring, was about to give up hahaha
That's how we do it at work (sometimes) although I'm not a frontend developer
We basically just have a bunch of components in our UI kit that we use for everything
Has the stuff I need with the correct styling and colors, different form elements or charts etc.
And then you can build higher-level components (e.g. a navbar or a page) from those components
🙏