Best Practices

Before diving deep into the best practices to be followed while dealing with React and Firebase, let's recap what we have seen so far in the previous chapters.

In the previous chapters, we saw Firebase account Setup, Firebase integration with ReactJs, Login Authentication With Firebase Auth Providers, Auth State management in React Component, Securing Data based on Role and Profile, Firebase integration with React-Redux, Firebase Cloud Messaging, Firebase Cloud Functions, and Using Firebase Admin SDK API with React Components, and I hope you have also enjoyed this journey. Now we know from where can we start and how to write the code, but the most important stuff is how can we write standard coding by following best practices.

So when we create an application with React and Firebase, we need to ensure that the structure of your data in Firebase Database and passing the data into the react components is the most important part of the application.

In the development field, each developer has an individual opinion for following best practices, but I'm sharing with you what I have observed and experienced so far; you might have a different opinion.

Here's a list of topics that we'll cover in this chapter:

  • Best practices with Firebase
  • Best practices with React and Redux
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset