O'Reilly logo

Mastering React by Ryan Vice, Adam Horton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 7. React Blog App Part 2 – Users

This chapter covers user session management as well as creating, viewing, and listing users (bloggers).

Our primary focus for the app is posts, but a post must be associated with a user identity. User account management is an often-underestimated and complex part of applications. One of the more difficult aspects of account management is security. Since we are making a mock application, we won't have much security. We are going to establish the user identity with a simple comparison during log in. If we moved beyond this prototype into a real, deployable, application, we'd replace most of this session management code with software that's suited specifically for user identity management.

This chapter comprises ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required