autosave drafts of statuses
Things I don't like:
-
NPM is pointing to the latest and greatest but it is a github branch URL install. This should be changed to an NPM versioned one later.
-
Needed to add a
draft: any
to the service, which I'd like to find a cleaner way to handle options.
This works though! You can write a status message, reload the page, change pages, and it'll stick around.
Things I want to do next:
-
Add drafts to comments (already in progress).
-
Add drafts to blogs.
-
Cache the newsfeed for fast loading.
-
Hook into a
logout
lifecycle tolocalStorage.clear()