const PRODUCTS = [ { id: 1, name: "Potato chips", description: "Deliciousness" }, { id: 2, name: "Glue", description: "Do not smell" } ] function Master(props) { return PRODUCTS.map(product => ( ) } function Details(props) { return (
{props.product.description}