Skip to Content
What React Is and Why It Matters
book

What React Is and Why It Matters

by Eric Baer
August 2018
Intermediate to advanced
61 pages
1h 12m
English
O'Reilly Media, Inc.
Content preview from What React Is and Why It Matters

Chapter 7. Common Questions

React has grown from a UI library to an enormous ecosystem, which can make it difficult to get ahold of the big picture. The following are a few common questions to help you understand React in the context of the broader ecosystem.

Is React a Templating Language?

No, React is not a template library. A template engine provides an imperative layer on top of HTML. In contrast, React is a set of tools that allow developers to use JavaScript to generate HTML.

Is React Similar to Web Components?

Web Components are not just one thing; they are a collection of standards that will, over time, be implemented in all major browsers. A React component serves the same function as a Web Component, but because React is not based on standards, it does not rely on support from any particular browser. As browser support grows, React may support the Web Components spec.

What Is the Difference Between the Virtual DOM and a Shadow DOM?

React’s virtual DOM is a tool for batching and efficiently applying updates. The Shadow DOM, which is one of the four technologies that compose the Web Components spec, refers to the ability of a browser to insert an isolated and external subtree into the main DOM.

How Can React Be Used with Other Frameworks?

React is just the view layer, and as such, can be used to replace the view layer in other frameworks including AngularJS and Ember.js. Generally speaking, developers tend to prefer using React with its own ecosystem of tools rather ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Beginning React

Beginning React

Andrea Chiarelli
The React Workshop

The React Workshop

Brandon Richey, Ryan Yu, Endre Vegh, Theofanis Despoudis, Anton Punith, Florian Sloot, Daniel Bugl, Brandan Jones, SudarshanReddy Kurri, David Parker, Cihan Yakar
Test-Driven React

Test-Driven React

Trevor Burnham

Publisher Resources

ISBN: 9781491996744Errata Page