Sometimes you want stale data right away, then refresh it async. This adds `findStale` to the store for that case. If it returns an object with `hasResults` you can get the `results` and display them. It also returns a `refresh()` method to freshen up the stale data. To enable `localStorage` support for stale data, just include the mixin `StaleLocalStorage` into an adapter for that model. This commit includes a sample of doing that for `Notifications`. |
||
|---|---|---|
| .. | ||
| add-archetype-class.js.es6 | ||
| add-category-class.js.es6 | ||
| ajax.js | ||
| badge-select-controller.js.es6 | ||
| buffered-content.js.es6 | ||
| bulk-topic-selection.js.es6 | ||
| can-check-emails.js.es6 | ||
| cleans-up.js.es6 | ||
| load-more.js.es6 | ||
| modal-functionality.js.es6 | ||
| open-composer.js.es6 | ||
| scroll-top.js.es6 | ||
| scrolling.js.es6 | ||
| selected-posts-count.js.es6 | ||
| singleton.js.es6 | ||
| stale-local-storage.js.es6 | ||
| string-buffer.js.es6 | ||
| upload.js.es6 | ||
| url-refresh.js.es6 | ||
| viewing-action-type.js.es6 | ||