when to make new component react

After reviewing my stuff I realized that I don't make a lot of components. So my question is when should I make a new component? Also how should i structure my files? Currently src/components but should i make subfolder if projects gets bigger?
2 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
cje
cje2y ago
i'd group files by feature, not by type of file regarding when to split out components, i just go by vibes tbh "this feels kinda big" => see if there's a good way to make it several smaller things "i need this thing in multiple places" => you know what to do
Want results from more Discord servers?
Add your server