Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Serverless Web Applications with React and Firebase

You're reading from   Serverless Web Applications with React and Firebase Develop real-time applications for web and mobile platforms

Arrow left icon
Product type Paperback
Published in Apr 2018
Publisher Packt
ISBN-13 9781788477413
Length 284 pages
Edition 1st Edition
Languages
Arrow right icon
Authors (2):
Arrow left icon
Harmeet Singh Harmeet Singh
Author Profile Icon Harmeet Singh
Harmeet Singh
Mayur Tanna Mayur Tanna
Author Profile Icon Mayur Tanna
Mayur Tanna
Arrow right icon
View More author details
Toc

Summary

In this chapter, we saw how JSX plays an important role in making custom components in React as well as making them very simple to visualize, understand, and write. We also saw how props and state play an important role in making components interactive as well as in DOM interaction to get the value from form fields. With the help of refs, we can call any public method and send a message to our particular child instance.

Also, we explored the React-Bootstrap components by creating an Add Ticket form, which works well on all expected devices as well as on desktop browsers.

In addition, we saw how easy it is to use Firebase Realtime Database with a ReactJS application. With just a few lines of code, we can save the data to the Realtime Database and retrieve the list of tickets from the database in Realtime to make our application Realtime.

In the next chapter, we will do...

You have been reading a chapter from
Serverless Web Applications with React and Firebase
Published in: Apr 2018
Publisher: Packt
ISBN-13: 9781788477413
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime