Write the React component import React, { Component } from 'react' class ListingsButton extends Component { // code left out to save space :) render() { return ( Buy now! ) } }
And now we can migrate this into one big React component! import React, { Component } from 'react' import ListingsTitle from './listings-title' import ListingsButton from './listings-button' class ListingsItem extends Component { render() { return (
"Right now when you ask us for a new feature, or bug fix, it's hard and takes a long time to fix and have confidence that we've not inadvertently broken anything else"