3 ms·
I don't really understand conversations about reuse in react, since the one-way data flow model it uses allows almost any functionality to be extracted into a c
by pault 8y ago
I don't really understand conversations about reuse in react, since the one-way data flow model it uses allows almost any functionality to be extracted into a composable single-purpose component. If the view components are kept pure I'm not sure I can think of an instance where code wouldn't be easily reusable except slight variations in the design, which is a problem no matter what framework you use (or none at all).
Edit: whoops, didn't realize you were talking about styling, not functionality.