4 ms·
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 simp
by JamesMcMinn 10y ago
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 https://facebook.github.io/react/docs/react-component.html
- yangbo 10y agoEven though, the number of React's API is still larger than [Binding.scala's API](https://static.javadoc.io/com.thoughtworks.binding/binding_2.11/10.0.2/com/thoughtworks/binding/Binding.html https://static.javadoc.io/com.thoughtworks.binding/binding_2...).