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 - How do I find how many occurences are there of a highlighted string, and which occurence is it? -

javascript - How to synchronize the Three.js and HTML/SVG coordinate systems (especially w.r.t. the y-axis)? -

java - Reading data from multiple zip files and combining them to one -