Rehan Pinjari
May 5, 2023

--

Hey, thanks for your comment! Great question. Yes, common components that are used across multiple views should definitely sit on the root level. However, the key is to keep them organized and modularized, so that they can be easily maintained and reused. By following a well-structured file architecture, we can make our React apps more scalable and easier to manage, even as they grow in complexity.

--

--

Rehan Pinjari
Rehan Pinjari

Written by Rehan Pinjari

Self-Taught Developer & UI/UX Designer

No responses yet