as the title
localStorage
is a very useful way to store data. I think calling localStorage
on every request (operation) will cause performance problems?
is it necessary to use variable storage instead ( localStorage.getItem
) only if the page is refreshed and the variable expires?