'why React sessions are not showing user information?

I am currently working on react sessions and I am stuck in retrieving the values. It is working fine on server end. But when I display it, it shows undefined. How it will work: user enters his credentials, which are then sent for authentication. After they are verified, the info is stored in session. Node version: 10.16.0 bc-react-session: 1.5.16 npm: 6.9.0

Payload containing user information Session.start

I am using the usercard to display info about the user. Session Info



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source