Dexie Cross Domain Addon
Dexie Cross allows you to share a Dexie database with other domains.
- On host side, it's easy as adding an addon to your database.
- On client side, you should instantiate a specific
DexieCrossClient
class.
Behind the scenes, the client creates a hidden iframe
pointing to the domain where the host database is located.
Thats means that this URL should have correct Content Security Policy header set.
Once it's done, commands will be passed to the host database via postMessage
API.