beatrizsmerino/vue-users

When reloading the browser page disappear the user/s data

Closed this issue · 0 comments

BUG DESCRIPTION

When reloading the browser page an error occurs:

  1. If you are on the user page, the user data is lost.
  2. If you are on the user page and recharge you are redirected to the user page.
    In the browser path you can see how the name of the user you were viewing disappears.

SCREENSHOTS

image
image
image
image

SOLUTION

I think that in order to fix it, the data obtained should be saved in the Local Storage.