Install / update the current user / localstorage data. Parse JS SDK

When the Parse.User.current () Object sets some new values ​​and saves them, the object synchronizes, but when the page is reloaded, the object returns to its previous state (old values).

When I log out and then log back in, the values ​​are now synchronized. Whenever Parse.User.current () is executed. Save (), cache / localstorage does not seem to be updated.

Is there a way to update / update cached data in a browser? Except editing local storage without SDK methods?

Very strange behavior by the way.

+4
source share

Source: https://habr.com/ru/post/1610207/


All Articles