May 2017
Intermediate to advanced
388 pages
7h 30m
English
In Chapter 2, Building a Shopping Cart, we built a Create Read Update Delete (CRUD) application and managed reactivity by creating Higher-Order Component (HOC); we did this by wrapping our container components with the react-meteor-data package. We used this package to do the fetching and passing of data down to the container components and their children as props.
We generated our container components as follows:
export default createContainer(() => { return {products: ProductsCollection.find({department: 'books'}).fetch() };}, Books);
In Chapter 4, Real-Time Twitter Streaming, we introduced a client-side state container library, called Redux. With Redux, we persisted the application state by connecting ...
Read now
Unlock full access