3 ms·
React components are controllers too. "componentDidMount" == controller event. They are lightweight controllers, though.
by Touche 13y ago
React components are controllers too. "componentDidMount" == controller event. They are lightweight controllers, though.
- akbar501 13y ago@Touche True. It's perfectly reasonable to add a model/data layer to React as a final/complete solution. In such a situation a heavy weight controller can be skipped.