This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/async-require/setupHMR.ts b/src/async-require/setupHMR.ts | |
| index 1278b6eb12c4702d2c2487d7780266c454e5116e..d8ef51578019b46e9ce84b7ce0ccd145005dc065 100644 | |
| --- a/src/async-require/setupHMR.ts | |
| +++ b/src/async-require/setupHMR.ts | |
| @@ -3,7 +3,7 @@ import HMRClient from './hmr'; | |
| if ( | |
| typeof window !== 'undefined' && | |
| // @ts-expect-error: Added via react-native-webview | |
| - typeof window.$$EXPO_INITIAL_PROPS !== 'undefined' | |
| + typeof window.ReactNativeWebView !== 'undefined' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export const DiscoverSection = memo(() => { | |
| const { data: discover, isLoading: isDiscoverLoading } = useQuery({ | |
| queryKey: ['discover-home'], | |
| query: getDiscoverHome(), | |
| }) | |
| // useSetQueryDataCollection(discover) | |
| return ( | |
| <HorizontalListSection |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/dom/dom-entry.tsx b/src/dom/dom-entry.tsx | |
| index 43a920aa9d1ec3457b070aeaa9adcfbca844614d..c39c3bc0d94f85a3c2b9effd9b8179c5caadb7a7 100644 | |
| --- a/src/dom/dom-entry.tsx | |
| +++ b/src/dom/dom-entry.tsx | |
| @@ -57,11 +57,6 @@ export function registerDOMComponent(AppModule: any) { | |
| function DOMComponentRoot(props) { | |
| // Props listeners | |
| const [marshalledProps, setProps] = React.useState(() => { | |
| - if (typeof window.$$EXPO_INITIAL_PROPS === 'undefined') { | |
| - throw new Error( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { | |
| AVPlaybackStatus, | |
| AVPlaybackStatusError, | |
| AVPlaybackStatusSuccess, | |
| Audio, | |
| } from 'expo-av' | |
| import { Platform } from 'react-native' | |
| const FADE_DURATION = 600 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, { useContext, createContext, useState, useEffect } from 'react' | |
| import { Session, User } from '@supabase/supabase-js' | |
| import { useSystem } from './system' | |
| interface AuthProviderProps { | |
| children: React.ReactNode | |
| } | |
| type AuthContextType = { | |
| session: Session | null |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import LottieView from 'lottie-react-native' | |
| import Animated, { | |
| makeMutable, | |
| useAnimatedProps, | |
| useAnimatedStyle, | |
| useFrameCallback, | |
| useSharedValue, | |
| withTiming, | |
| } from 'react-native-reanimated' | |
| import { Button, XStack } from 'tamagui' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { UseThemeResult } from '@tamagui/core' | |
| import React from 'react' | |
| import Animated, { | |
| Easing, | |
| SharedValue, | |
| interpolateColor, | |
| useAnimatedStyle, | |
| useDerivedValue, | |
| useSharedValue, | |
| withRepeat, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { useWindowDimensions } from 'react-native' | |
| import { Gesture } from 'react-native-gesture-handler' | |
| import Animated, { | |
| Extrapolation, | |
| WithSpringConfig, | |
| interpolate, | |
| scrollTo, | |
| useAnimatedRef, | |
| useAnimatedScrollHandler, | |
| useAnimatedStyle, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { | |
| AVPlaybackSource, | |
| AVPlaybackStatus, | |
| AVPlaybackStatusError, | |
| AVPlaybackStatusSuccess, | |
| Audio, | |
| } from 'expo-av' | |
| const FADE_DURATION = 4000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React from 'react' | |
| import { usePrevious } from './usePrevious' | |
| export type QueryStatus = 'idle' | 'loading' | 'error' | 'success' | |
| type QueryClientProviderProps = { | |
| children: React.ReactNode | |
| client: QueryClient | |
| } |
NewerOlder