Having large components isn’t always a bad thing, but it’s a good practice to take advantage of opportunities where you can simplify components further — especially when it provides additional benefits.
When you have a large component, it can become disadvantageous because the larger a component gets, the more difficult it becomes to maintain and read over time.
Let’s look at this component below and see reasons why we’d be better off simplifying it.
Read more
|