Home Start Get started Quick tour of Polymer Install the Release Candidate Polymer Feature overview What's new About Polymer 2.0 Upgrade guide Hybrid elements Release notes Custom elements Custom element concepts Define an element Declare properties Shadow DOM & styling Shadow DOM concepts DOM templating Style shadow DOM Custom CSS properties Events Handle and fire events Gesture events Data system Data system concepts Work with object and array data Observers and computed properties Data binding Helper elements Tools Tools overview Polymer CLI Document your elements Test your elements Optimize for production Advanced tools Services polymer.json specification Node support Resources Browser compatibility Glossary API Reference API Reference App Toolbox What's in the box? Using the Toolbox App templates Responsive app layout Routing Localization App storage Service worker Serve your app Case study Shop News Blog Community What's in the box?
Using the Toolbox
App templates Responsive app layout Routing Localization App storage Service worker Serve your app
Case study
Shop News

The app storage elements are prerelease. APIs may be subject to change.

The app storage family of elements gives you a new set of tools for managing data in your app. The initial set includes ready-made elements for integrating with Firebase and PouchDB.

The Firebase 3.0.0 SDK supports a new set of Firebase elements, built with app storage, called PolymerFire. These elements make critical Firebase SDK integrations such as app initialization, user authentication, and database access declarative, and easier than ever before.

The <app-indexeddb-mirror> element provides a read-only mirror of a database like Firebase. This ensures that users will have access to their personal data even when there is no network available.

Firebase is resilient to temporary losses of network connectivity—like when a user suddenly goes through a tunnel while using your Firebase app. Firebase continues to work and update the server as soon it reconnects to the network. But there are other offline cases that Firebase—and other popular storage layers—don’t handle very well, like when a user starts the app while offline.

The Polymer app-pouchdb component contains elements for PouchDB document access, database querying, synchronization across local and remote databases and even user authentication with a remote CouchDB instance. Since PouchDB can automatically synchronize data with a local IndexedDB database, it has never been easier to add offline-first data access to your progressive web app.