3 ms·
I'm a bit surprised to see this on a site such as infoq, and being written by a developer from Thoughtworks. If you have a 'complex project' you are going to n
by pedalpete 10y ago
I'm a bit surprised to see this on a site such as infoq, and being written by a developer from Thoughtworks.
If you have a 'complex project' you are going to need more than just ReactJS. It's like saying Handlebars templating is no good for large projects.
The reusability of components in a large project, and specifically the issues the author points out about interactivity between components, isn't supposed to be done in react, you're supposed to have a data (store) layer which manages the state of your components. This means the component itself is essentially just an template for your output.
- riledhel 10y agoI keep talking to people that put too much business logic in their components and then complain about react's unmaintainability as the project begins to have problems. Most of the time is because of poor component design and lack of a clear state/data management
- arvinsim 10y agoI am surprised that is still a thing given that React + Redux is very popular. I would expect anyone delving in React to at least be aware of it.