4 ms·
There's good stuff in there though. The Action component can be a good idea. It's just an adapter, so nothing new under the sun, but it's nice to see what it lo
by thiht 6y ago
There's good stuff in there though. The Action component can be a good idea. It's just an adapter, so nothing new under the sun, but it's nice to see what it looks like in React.
Some advice will definitely lead to overengineering though. Sometimes using refactor tools when needed is better than a complex abstraction.
- chris_engel 6y agoFor me, the action component advice was the worst of all. Its a "component to rule them all" which brings you closer to configuration hell. There is nothing wrong in having separate components for "Button", "BigButton", "IconButton" and so on. It immediately tells you what the component does and the additional code is minimal.