Parse.com JavaScript SDK - How can I refresh the cached user object? -
the cached parse user object in local storage updated on login or signup. i'd refresh when app loads make sure modifications in sync. how can that?
according this thread parse.com forums archive, there should method parse.user.current().refresh()
that, in latest version of js sdk method doesn't seem exist.
thanks! appreciated!
fetch model server
parse.user.current().fetch()
https://parse.com/docs/js/api/symbols/parse.object.html#fetch
Comments
Post a Comment