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

Popular posts from this blog

javascript - ScrollTo Effect (href to div) -

javascript - ng-class not responding to change in model in Angular? -

javascript - document.registerElement extending HTMLInputElement prototype while using custom tag name to avoid implicit browser style -