From the course: Building UI Components with Storybook: Master React Components and UI Design with Storybook for Better Efficiency

Unlock this course with a free trial

Join today to access over 25,200 courses taught by industry experts.

How to start building a React app with CRA

How to start building a React app with CRA

We covered the fundamentals of the DOM versus the virtual DOM. But if you're at an interview and one of the questions, if you're doing a React development interview, could easily be, why do we want to use React? What's the benefit of using it? The virtual DOM is one of the most important things you can do. You can say, well, React uses a virtual DOM to improve performance, and that makes the application very fast and responsive. React is also declarative, and the declarative paradigm in modern programming is key for efficiency. that just means that we describe what we want the UI to do and look like and React takes care of it, as opposed to instructing every single part piece by piece, which would be, in today's world, a huge waste of money for companies. Whether or not it's fascinating to do so and can yield other types of rewards, that's another discussion. So those are the benefits. And of course, we can't forget the key most important benefit and contextually to this course is…

Contents