Skip to content

Commit f0b9725

Browse files
authored
(docs): update react native links with new docs url (#306)
1 parent 05d3939 commit f0b9725

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

lib/AsyncStorage.js

+12-12
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ function checkValidInput(usedKey: string, value: any) {
7979
* storage system that is global to the app. It should be used instead of
8080
* LocalStorage.
8181
*
82-
* See http://facebook.github.io/react-native/docs/asyncstorage.html
82+
* See http://reactnative.dev/docs/asyncstorage.html
8383
*/
8484
const AsyncStorage = {
8585
_getRequests: ([]: Array<MultiRequest>),
@@ -89,7 +89,7 @@ const AsyncStorage = {
8989
/**
9090
* Fetches an item for a `key` and invokes a callback upon completion.
9191
*
92-
* See http://facebook.github.io/react-native/docs/asyncstorage.html#getitem
92+
* See http://reactnative.dev/docs/asyncstorage.html#getitem
9393
*/
9494
getItem: function(
9595
key: string,
@@ -114,7 +114,7 @@ const AsyncStorage = {
114114
/**
115115
* Sets the value for a `key` and invokes a callback upon completion.
116116
*
117-
* See http://facebook.github.io/react-native/docs/asyncstorage.html#setitem
117+
* See http://reactnative.dev/docs/asyncstorage.html#setitem
118118
*/
119119
setItem: function(
120120
key: string,
@@ -138,7 +138,7 @@ const AsyncStorage = {
138138
/**
139139
* Removes an item for a `key` and invokes a callback upon completion.
140140
*
141-
* See http://facebook.github.io/react-native/docs/asyncstorage.html#removeitem
141+
* See http://reactnative.dev/docs/asyncstorage.html#removeitem
142142
*/
143143
removeItem: function(
144144
key: string,
@@ -164,7 +164,7 @@ const AsyncStorage = {
164164
*
165165
* **NOTE:** This is not supported by all native implementations.
166166
*
167-
* See http://facebook.github.io/react-native/docs/asyncstorage.html#mergeitem
167+
* See http://reactnative.dev/docs/asyncstorage.html#mergeitem
168168
*/
169169
mergeItem: function(
170170
key: string,
@@ -190,7 +190,7 @@ const AsyncStorage = {
190190
* don't want to call this; use `removeItem` or `multiRemove` to clear only
191191
* your app's keys.
192192
*
193-
* See http://facebook.github.io/react-native/docs/asyncstorage.html#clear
193+
* See http://reactnative.dev/docs/asyncstorage.html#clear
194194
*/
195195
clear: function(callback?: ?(error: ?Error) => void): Promise<null> {
196196
return new Promise((resolve, reject) => {
@@ -209,7 +209,7 @@ const AsyncStorage = {
209209
/**
210210
* Gets *all* keys known to your app; for all callers, libraries, etc.
211211
*
212-
* See http://facebook.github.io/react-native/docs/asyncstorage.html#getallkeys
212+
* See http://reactnative.dev/docs/asyncstorage.html#getallkeys
213213
*/
214214
getAllKeys: function(
215215
callback?: ?(error: ?Error, keys: ?ReadOnlyArrayString) => void,
@@ -240,7 +240,7 @@ const AsyncStorage = {
240240
/**
241241
* Flushes any pending requests using a single batch call to get the data.
242242
*
243-
* See http://facebook.github.io/react-native/docs/asyncstorage.html#flushgetrequests
243+
* See http://reactnative.dev/docs/asyncstorage.html#flushgetrequests
244244
* */
245245
flushGetRequests: function(): void {
246246
const getRequests = this._getRequests;
@@ -278,7 +278,7 @@ const AsyncStorage = {
278278
* inputs. Your callback will be invoked with an array of corresponding
279279
* key-value pairs found.
280280
*
281-
* See http://facebook.github.io/react-native/docs/asyncstorage.html#multiget
281+
* See http://reactnative.dev/docs/asyncstorage.html#multiget
282282
*/
283283
multiGet: function(
284284
keys: Array<string>,
@@ -320,7 +320,7 @@ const AsyncStorage = {
320320
* Use this as a batch operation for storing multiple key-value pairs. When
321321
* the operation completes you'll get a single callback with any errors.
322322
*
323-
* See http://facebook.github.io/react-native/docs/asyncstorage.html#multiset
323+
* See http://reactnative.dev/docs/asyncstorage.html#multiset
324324
*/
325325
multiSet: function(
326326
keyValuePairs: Array<Array<string>>,
@@ -346,7 +346,7 @@ const AsyncStorage = {
346346
/**
347347
* Call this to batch the deletion of all keys in the `keys` array.
348348
*
349-
* See http://facebook.github.io/react-native/docs/asyncstorage.html#multiremove
349+
* See http://reactnative.dev/docs/asyncstorage.html#multiremove
350350
*/
351351
multiRemove: function(
352352
keys: Array<string>,
@@ -373,7 +373,7 @@ const AsyncStorage = {
373373
*
374374
* **NOTE**: This is not supported by all native implementations.
375375
*
376-
* See http://facebook.github.io/react-native/docs/asyncstorage.html#multimerge
376+
* See http://reactnative.dev/docs/asyncstorage.html#multimerge
377377
*/
378378
multiMerge: function(
379379
keyValuePairs: Array<Array<string>>,

0 commit comments

Comments
 (0)