Home Start Get started Build an element 1. Get set up 2. Add local DOM 3. Data binding & properties 4. React to input 5. Theming with custom properties Build an app 1. Get set up 2. Create a new page 3. Add some elements 4. Deploy Polymer Feature overview Quick tour Define elements Register an element Declare properties Instance methods Behaviors Local DOM & styling Local DOM Styling 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 Publish an element Advanced tools Services What's new Release notes 1.0 Migration guide About Polymer 1.0 Resources Community Browser compatibility API Reference Polymer.Base array-selector custom-style dom-bind dom-if dom-repeat dom-template Polymer.Templatizer Global settings 2.0 Preview About Polymer 2.0 Upgrade guide 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 Elements News 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.