Serverless Web Applications with React and Firebase
Harmeet Singh, Mayur Tanna
- 284 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
Serverless Web Applications with React and Firebase
Harmeet Singh, Mayur Tanna
About This Book
Build rich and collaborative applications using client-side code with React, Redux, and FirebaseAbout This Book• A practical guide covering the full stack for web development with React 16 and Firebase• Leverage the power of Firebase Cloud Storage, messaging, functions, OAuth, and database security to develop serverless web applications.• Develop high-performance applications without the hassle of setting up complex web infrastructure.Who This Book Is ForThis book is for JavaScript developers who have some previous knowledge of React and want to develop serverless, full-stack applications but without the hassle of setting up a complex infrastructure.What You Will Learn• Install powerful React.js and Firebase tools to make development much more efficient• Create React components with Firebase to save and retrieve the data in real-time• Use Firebase Authentication to make your React user interface secure• Develop React and Firebase applications with Redux integration • Firebase database security rules• Firebase Cloud Storage Integration to upload and store data on the cloud• Create a complete real-time application with React and firebase• Using Firebase Cloud messaging and Cloud functions with React• Firebase Cloud Storage integration with ReactIn DetailReactJS is a wonderful framework for UI development. Firebase as a backend with React is a great choice as it is easy, powerful, and provides great developer experience. It removes a lot of boilerplate code from your app and allows you to focus on your app to get it out quickly to users. Firebase with React is also a good choice for Most Viable Product (MVP) development.This book provides more practical insights rather than just theoretical concepts and includes basic to advanced examples – from hello world to a real-time seat booking app and Helpdesk applicationThis book will cover the essentials of Firebase and React.js and will take you on a fast-paced journey through building real-time applications with Firebase features such as Cloud Storage, Cloud Function, Hosting and the Realtime Database. We will learn how to secure our application by using Firebase authentication and database security rules. We will leverage the power of Redux to organize data in the front-end, since Redux attempts to make state mutations predictable by imposing certain restrictions on how and when updates can happen. Towards the end of the book you will have improved your React skills by realizing the potential of Firebase to create real-time serverless web applications.Style and approachPractical insights rather than just theoretical concepts while including basic to advanced examples – from hello world to a real-time seat booking app and Helpdesk application.
Frequently asked questions
Information
Getting Started with Firebase and React
- Introduction of React
- React Component LifeCycle
React
Component lifecycle
Methods info
The constructor() method
constructor(props) {
super(props);
this.state = {
value: props.initialValue
};
}
The render() method
- React elements
- String and numbers
- Portals
- null
- Booleans
The componentWillMount() method
The componentDidMount() method
The componentWillReceiveProps() method
The shouldComponentUpdate() method
The componentWillUpdate() method
This method will not be invoked if shouldComponentUpdate() returns false.