correctly order ASyncStorage
Reviewed By: sahrens Differential Revision: D4585569 fbshipit-source-id: e0bebddea8a5810386e193eb6435f24ba3a5cbb0
This commit is contained in:
parent
72ddfb014a
commit
f6bd8a38ec
|
@ -16,8 +16,8 @@
|
|||
const NativeModules = require('NativeModules');
|
||||
|
||||
// Use RocksDB if available, then SQLite, then file storage.
|
||||
const RCTAsyncStorage = NativeModules.AsyncSQLiteDBStorage ||
|
||||
NativeModules.AsyncRocksDBStorage ||
|
||||
const RCTAsyncStorage = NativeModules.AsyncRocksDBStorage ||
|
||||
NativeModules.AsyncSQLiteDBStorage ||
|
||||
NativeModules.AsyncLocalStorage;
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue