Skip to content

1.0.52 - The IndexedDB update

Compare
Choose a tag to compare
@hazae41 hazae41 released this 31 Aug 20:45
· 830 commits to master since this release

NO BREAKING CHANGE

CHANGES

  • You can now use IndexedDB storage πŸš€
const storage = new XSWR.IDBStorage("mydb")

function getHelloSchema() { // See the docs for the new schema pattern
  return XSWR.single("/api/hello", fetchAsJson, { storage })
}
  • Improved performances