Skip to content

Load storage driver after API call

Pre-release
Pre-release
Compare
Choose a tag to compare
@tofumatt tofumatt released this 02 Apr 02:59
· 848 commits to master since this release

localForage now waits to load the backend storage driver until after the first public API call is made. This allows us to set the storage driver before the first getItem()/setItem()/[etc.] API call and thus never erroneously load a driver. It should also improve performance.

Graças à @nantunes for his work on this patch.