Book Image

Build Applications with Meteor

Book Image

Build Applications with Meteor

Overview of this book

This book starts with the basic installation and overview of the main components in Meteor. You’ll get hands-on multiple versatile applications covering a wide range of topics from adding a front-end views with the hottest rendering technology React to implementing a microservices oriented architecture.All the code is written with ES6/7 which is the latest significantly improved JavaScript language. We’ll also look at real-time data streaming, server to server data exchange, responsive styles on the front-end, full-text search functionality, and integration of many third-party libraries and APIs using npm. By the end of the book, you’ll have the skills to quickly prototype and even launch your next app idea in a matter of days.
Table of Contents (16 chapters)
Title Page
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
8
Build a Chatbot with Facebook’s Messenger Platform

Chapter 5. Developing Kanban Project Management Tool

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 our containers to a single store that had a single JavaScript object presentation of the state. Note that we persisted the data on the client side only. The data (tweets) was pushed from the server to the client using Meteor's Data...