Skip to Main Content
Redux Quick Start Guide
book

Redux Quick Start Guide

by James Lee, Tao Wei, Suresh Kumar Mukhiya
February 2019
Intermediate to advanced content levelIntermediate to advanced
204 pages
4h 52m
English
Packt Publishing
Content preview from Redux Quick Start Guide

Connecting the home page with the API

Whenever any user opens our application, the initial request is to see if the user is authenticated or not. This can be done by storing logged-in users in cookies or local storage for a certain amount of time and then checking if the token is valid. Well, developers might ask "Why cookies and not local storage?" While we agree that local storage is better and is used more often, we wanted to keep the hands-on as simple as possible. Our goal is to show the logged in user in the header bar and show the list of users, as shown in the screenshot:

Figure 6.4: Dashboard page for logged in user

To achieve this, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Redux Made Easy with Rematch

Redux Made Easy with Rematch

Sergio Moreno
Learning Redux

Learning Redux

Daniel Bugl
The React Workshop

The React Workshop

Brandon Richey, Ryan Yu, Endre Vegh, Theofanis Despoudis, Anton Punith, Florian Sloot, Daniel Bugl, Brandan Jones, SudarshanReddy Kurri, David Parker, Cihan Yakar

Publisher Resources

ISBN: 9781789610086Supplemental Content