4 ms·
> 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 co
by kecupochren 5y 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