Home Start Get started Quick tour of Polymer Install Polymer 2.x 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 About this release What's new in 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 Browser support Overview Polyfills ES6 Tools Tools overview Polymer CLI Document your elements Test your elements Web services polymer.json specification Node support Resources Glossary API Reference API Reference Global settings App Toolbox What's in the box? Using the Toolbox App templates Responsive app layout Routing Localization App storage Service worker Deploy Build for production Serve your app The PRPL pattern 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
Deploy
Build for production Serve your app The PRPL pattern
Case study
Shop News

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.