Why is ionic2 using websql for the browser when it has been deprecated?

According to the docs, WebSQL is used. My question is why when it has been deprecated?

Am assuming SQLite is only used when on device.


I guess the Ionic answer is “because that’s what the cordova plugin does”, and the cordova plugin answer is probably “because it’s easier to translate SQLite to WebSQL than it is to do so with IndexedDB”. There’s probably also a historical component to it, because I believe the cordova plugin predates broad IndexedDB support.

That’s why I built this tutorial last week.

persistent noSQL for Ionic Framework