Searched refs:useUpdates (Results 1 – 11 of 11) sorted by relevance
51 export declare const useUpdates: () => UseUpdatesReturnType; constant
54 export const useUpdates = () => { function
1 …useUpdates().\n// Used internally by this module and not exported publicly.\nexport type UseUpdate…
1 …useUpdates();\n *\n * React.useEffect(() => {\n * if (isUpdatePending) {\n * // Update…
1 …useUpdates()`.\n */\nexport type UseUpdatesReturnType = {\n /**\n * Information on the currentl…
6 const { checkForUpdateAsync, fetchUpdateAsync, useUpdates } = Updates;19 } = useUpdates();
19 describe('useUpdates()', () => {
62 export const useUpdates: () => UseUpdatesReturnType = () => { constant
52 } = Updates.useUpdates();58 // Get rollback state with this, until useUpdates() supports rollbacks
52 } = Updates.useUpdates();
58 - Add rollback support to useUpdates(). ([#24071](https://github.com/expo/expo/pull/24071) by [@dou…78 - New useUpdates() JS API. ([#23532](https://github.com/expo/expo/pull/23532) by [@douglowder](http…85 - Handle initialization errors in useUpdates(). ([#23640](https://github.com/expo/expo/pull/23640) …