Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
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

Best practices with React and Redux


Whenever we have components with dynamic functionality, data comes into the picture; the same way, in React, we have to deal with dynamic data, which seems easy but not every time.

Sounds confusing!

It is easy but sometimes tough because, in React components, it’s easy to pass properties with many ways for building rendering tree from it, but there is not much clarity to update the view.

In the preceding chapters, this statement is clearly shown, so if you are still not clear, refer to those.

Use of Redux

As we know, in SPAs (single page applications), when we have to contract with state and time, it will be difficult to handgrip state over time. Here, Redux helps a lot, how? This is because, in a JavaScript application, Redux is handling two states: one is Data state and another is UI state, and it’s a standard option for SPAs (single page applications). Moreover, bear in mind that Redux can be used with Angular or Jquery or React JavaScript libraries or frameworks...

lock icon The rest of the chapter is locked
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
Banner background image