safe-react/src/utils
Agustin Pane 26a358a3af
(Feature) - 1029 Improve Polling behaviour (#1047)
* Adds exponential backOff for fetch methods

* Avoid multiple requests before the last finished

* Removes unused dependency

* Adds try catch

* Fix isFetchingData variable initialization

* Add return type to fetchAllUserCollectiblesByCategoryAsync

* Improve typings for fetchSafeTokens

* Add more types

* Improve types usage

* Improve types usage

* Refactor useCheckForUpdates to avoid calling the actions before they finished

* Updates typing in OpenSea.ts

* Update store types

* Update store types

* Remove unused promises

* useCheckForUPdates & useFetchTokens refactor wip

* enhanced safe state/selector types

* refactor useCheckForUpdates

* improve comment in useSafeScheduledUpdaates

* type enhancements

* use checksumAddress to checksum an address

* dep bump

Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
Co-authored-by: Mati Dastugue <matias.dastugue@altoros.com>
2020-07-06 16:34:14 -03:00
..
__tests__ Migrating to Typescript and bringing back react-scripts (#933) 2020-05-20 16:15:21 -03:00
storage type definition fixes 2020-06-29 15:29:27 +04:00
checksumAddress.ts (Feature) - 1029 Improve Polling behaviour (#1047) 2020-07-06 16:34:14 -03:00
clipboard.ts Migrating to Typescript and bringing back react-scripts (#933) 2020-05-20 16:15:21 -03:00
constants.ts Migrating to Typescript and bringing back react-scripts (#933) 2020-05-20 16:15:21 -03:00
css.ts Migrating to Typescript and bringing back react-scripts (#933) 2020-05-20 16:15:21 -03:00
fetch.ts Migrating to Typescript and bringing back react-scripts (#933) 2020-05-20 16:15:21 -03:00
googleAnalytics.ts Migrating to Typescript and bringing back react-scripts (#933) 2020-05-20 16:15:21 -03:00
intercom.ts Migrating to Typescript and bringing back react-scripts (#933) 2020-05-20 16:15:21 -03:00
logBoundaries.ts Migrating to Typescript and bringing back react-scripts (#933) 2020-05-20 16:15:21 -03:00
singleton.ts Migrating to Typescript and bringing back react-scripts (#933) 2020-05-20 16:15:21 -03:00
strings.ts Migrating to Typescript and bringing back react-scripts (#933) 2020-05-20 16:15:21 -03:00
timer.ts Migrating to Typescript and bringing back react-scripts (#933) 2020-05-20 16:15:21 -03:00
url.ts Migrating to Typescript and bringing back react-scripts (#933) 2020-05-20 16:15:21 -03:00
wrapInSuspense.tsx Migrating to Typescript and bringing back react-scripts (#933) 2020-05-20 16:15:21 -03:00