更新时间:2021-07-09 19:49:15
coverpage
Title Page
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
Foundation of Meteor
Setting up the development environment
Building a Meteor app
The frontend with React
The React's state
Adding state to a stateless function component
Inheritance versus composition
Adding a state to a component
Meteor with React
Adding and removing atmosphere packages in Meteor
Integrating React with Meteor's reactive data system
Explore MongoDB in the Meteor shell
Publishing and Subscribing
Improvements in the current code
Summary
Building a Shopping Cart
Creating the project structure
On the server
Building the application components
The ProductsContainer
PropTypes
The CartContainer
Adding router to the application
App.js
ProductComponent.js
The data containers
BooksContainer.js
MusicContainer.js
Meteor methods
Removing item from the cart
Updating the quantity of an item in the cart
Let's create another method that will calculate the cart's total price
Considerations for scalability
Basic validations on the server
Defining a schema
Defaults
Style Your React Components with Bootstrap and Material Design
Mobile first
Making it mobile friendly!
Modular CSS with LESS
Test it out!
Modular CSS with Syntactically Awesome StyleSheets
Bootstrap and Meteor
Using CSS modules with Meteor
Meteor and webpack styling the shopping cart
Styling the shopping cart with Material Design Lite
The grid
Real-Time Twitter Streaming
Twitter streaming
The application structure
Meteor with Redux
Redux and pure functions
The Redux parts
Why do we need Redux when we have Minimongo on the client?
Building the App
Folder structure client
Getting the data from the collection
Async actions in Redux
Creating the App components
Connecting the Redux store with the React components
The containers and the components of the App
The Filter components
Tweets component
The Sentiment component
On the Server
Test it out and improve it!
Developing Kanban Project Management Tool
Drag and drop in React
The reducer function
Building the Modal
Higher-Order Components