Is React Killing Angular & Jquery ?
Talvinder Singh
Staff Software Engineer | Full Stack | 10+ Years Building Scalable Web Solutions | International Work Experience
There are a few basic tenets to keep in mind that may help you build a good React application:Your UI should be a function of the dataIn many "jQuery soup" style applications, the business logic for the application, the app's data, and the UI interaction code are all intermingled. This makes these sorts of applications difficult to debug and, especially, difficult to grow. React, like many modern client-side application frameworks, enforce the idea that the UI is just a representation of your data. If you want your UI to change, you should change a piece of data and allow whatever binding system the framework uses to update the UI for you.In React, each component is (ideally) a function of two pieces of data–the?properties?passed to the component instance, and the?state?that the component manages internally. Given the same properties (or "props") and state, the component should render in the same way. This can be a bit of an abstract idea without concrete examples, so keep it in mind as we move on for now.