Problem: Sometimes a component is "too big"


Problem: Sometimes a component is "too big".

Signs:
- Lots of props
- Hard to reuse
- Feels unfocused
- Performance problems
- Hard to understand what it does
- Contains a lot of unrelated state
- Finding what I need involves a lot of scrolling

Solution: Split it.

View original on X