Hacker News new | ask | show | jobs
by kecupochren 1701 days ago
> Sometimes it makes sense to put logic and state in your view components

Of course, I do that a lot with generic, reusable components. Once I know it's too complex I extract it to model that gets passed through props. Win/win