'Where is the user data stored after decoding it from the token?

Where is the user data stored after decoding it from the token? I'm using react , and the Jwt token is stored in local-storage .



Solution 1:[1]

the data is stored in state and not in localstorage due to security issues.

Sources

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

Source: Stack Overflow

Solution Source
Solution 1 Karan Ravindra Fulare