From the course: The DOM in JavaScript, jQuery, AngularJS, and React
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
React application structure
From the course: The DOM in JavaScript, jQuery, AngularJS, and React
React application structure
- [Instructor] ReactJS is a JavaScript library developed by Facebook and Instagram for building user interfaces for the web. If we look at the MVC paradigm, then ReactJS focus is primarily on the view, the visual components, and that's where its strengths lie. Now, React is a very unique in two main areas. First, it's the UI components. UI components are defined entirely in JavaScript in ReactJS. This may not mean lot to a lot of people, but, to a web developer, this means a lot. One, there are no separate templates to work with, and two, you have all the power and the flexibility of JavaScript all in single place. I think that's pretty cool. The second, which is the most important feature in ReactJS, is how we updates the DOM. I'll show you in separate video how this works but, for now, let's take a look at this very simple React application and see how things work. I have a really simple page here. There's no element other than just this div here, id container. This is the location…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.