Skip to Main Content
Beginning React
book

Beginning React

by Andrea Chiarelli
July 2018
Beginner content levelBeginner
96 pages
2h 8m
English
Packt Publishing
Content preview from Beginning React

Data Propagation

The ProductList component that we defined in the previous section is impractical. Let's take a look at it again:

import React from 'react';import './ProductList.css';class ProductList extends React.Component {  render() {    return <ul>      <li>        <h3>Traditional Merlot</h3>        <p>A bottle of middle weight wine, lower in tannins (smoother),            with a more red-fruited flavor profile.</p>      </li>      <li>        <h3>Classic Chianti</h3>        <p>A medium-bodied wine characterized by a marvelous freshness with            a lingering, fruity finish</p>      </li>      <li>        <h3>Chardonnay</h3>        <p>A dry full-bodied white wine with spicy, bourbon-y notes in an            elegant bottle</p>      </li>      <li>        <h3>Brunello di Montalcino</h3> <p>A bottle of red wine with exceptionally bold fruit flavors, ...
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.
Start your free trial

You might also like

Test-Driven React

Test-Driven React

Trevor Burnham
Pro React 16

Pro React 16

Adam Freeman
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
Learning React

Learning React

Alex Banks, Eve Porcello

Publisher Resources

ISBN: 9781789530520Supplemental Content