Re:Why You Shouldn’t Use ReactJS for Complex Projects
by wvenable on Sunday February 05, 2017 @07:42PM
(#13575671)
If you have to architect your project around the use of this "library" then it smells a lot more like a framework.
[ Parent
| on HN ]
Re:Why You Shouldn’t Use ReactJS for Complex Projects
by JamesMcMinn on Sunday February 05, 2017 @08:04PM
(#13575768)
You don't architecture you project around React - you simply fit react in wherever you want to render the UI. React has a very small API, most of which are simple lifecycle methods for dealing with changes in the state of a component [1].
You tell React that you'd like to Render component X inside DOM element Y, and that's really all React does. There's no architecturing your project around React.
[1] https://facebook.github.io/react/docs/react-component.html
Re:Why You Shouldn’t Use ReactJS for Complex Projects
by yangbo on Monday February 06, 2017 @01:56AM
(#13577162)
Even though, the number of React's API is still larger than [Binding.scala's API](https://static.javadoc.io/com.thoughtworks.binding/binding_2...).
Re:Why You Shouldn’t Use ReactJS for Complex Projects
by jaredklewis on Sunday February 05, 2017 @11:42PM
(#13576523)
The architecture of any web application will be affected by your view layer, whether it is react, custom built, or any thing else.
Yes, if use react, you need an architecture compatible with the reactive paradigm.
Re:Why You Shouldn’t Use ReactJS for Complex Projects
by thatswrong0 on Sunday February 05, 2017 @09:51PM
(#13576166)
You will want an application architecture if you're writing a complex project with any view library. React isn't special in this regard.
Re:Why You Shouldn’t Use ReactJS for Complex Projects
by wvenable on Monday February 06, 2017 @12:23PM
(#13581679)
Agreed. It's only special because some people want to call it a library instead of a framework.
Re:Why You Shouldn’t Use ReactJS for Complex Projects
by thatswrong0 on Monday February 06, 2017 @01:33PM
(#13582441)
That's because it _is_ a library. If you compare it to something like Ember, it's pretty obvious that's what it is.