May 2017
Intermediate to advanced
388 pages
7h 30m
English
The MusicContainer component is the same as the Books, but we just queried the ProductsCollection by department music:
products: ProductsCollection.find({department: 'music'}).fetch()

So far so good, but there is a problem. What if we open the browser's console and start adding data directly by just typing it in the console. Of course, you need to hit a breakpoint when the CartCollection is defined, but it's pretty easy to find it in the source code:

As soon as we insert data into the client database (Minimongo), the data ...
Read now
Unlock full access