This file contains 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, { useState, useCallback, useEffect } from 'react'; | |
import { LayoutChangeEvent, Text } from 'react-native'; | |
import Animated, { | |
useSharedValue, | |
useAnimatedRef, | |
runOnUI, | |
measure | |
} from 'react-native-reanimated'; | |
function useAnimatedState<T>(initial: T) { |
This file contains 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, { useState, useCallback, useEffect } from 'react'; | |
import { LayoutChangeEvent, Text } from 'react-native'; | |
import Animated, { | |
useSharedValue, | |
useAnimatedRef, | |
runOnUI, | |
measure | |
} from 'react-native-reanimated'; | |
function useAnimatedState<T>(initial: T) { |
This file contains 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, { | |
useCallback, | |
useEffect, | |
useState, | |
FunctionComponent, | |
ComponentClass, | |
useMemo, | |
useRef, | |
ReactNode | |
} from 'react'; |
This file contains 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, { | |
useCallback, | |
useEffect, | |
useState, | |
FunctionComponent, | |
ComponentClass, | |
useMemo, | |
useRef, | |
ReactNode | |
} from 'react'; |
This file contains 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, { | |
useCallback, | |
useEffect, | |
useState, | |
FunctionComponent, | |
ComponentClass, | |
useMemo, | |
useRef, | |
Key | |
} from 'react'; |
This file contains 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 Animated, { | |
useAnimatedGestureHandler, | |
useSharedValue, | |
cancelAnimation | |
} from 'react-native-reanimated'; | |
import { | |
State, | |
PanGestureHandlerGestureEvent | |
} from 'react-native-gesture-handler'; | |
import { clamp, snapPoint } from 'react-native-redash'; |
This file contains 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
function _G.dump(...) | |
local objects = vim.tbl_map(vim.inspect, {...}) | |
print(unpack(objects)) | |
end | |
vim.lsp.set_log_level("debug") | |
local cmd = vim.cmd | |
local fn = vim.fn | |
local g = vim.g |
This file contains 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
[Tue Mar 02 2021 16:07:33.439] LOG velocity: 0, offset: 0 | |
[Tue Mar 02 2021 16:07:33.455] LOG velocity: 0.008713597431778908, offset: 41.45454406738281 | |
[Tue Mar 02 2021 16:07:33.470] LOG velocity: 45.07143020629883, offset: 270.9090881347656 | |
[Tue Mar 02 2021 16:07:33.472] LOG velocity: -78.41270446777344, offset: 270.9090881347656 | |
[Tue Mar 02 2021 16:07:33.474] LOG velocity: -78, offset: 270.9090881347656 | |
[Tue Mar 02 2021 16:07:33.488] LOG velocity: 12.100000381469727, offset: 358.9090881347656 | |
[Tue Mar 02 2021 16:07:33.515] LOG velocity: 22, offset: 494.9090881347656 | |
[Tue Mar 02 2021 16:07:33.539] LOG velocity: 23.399999618530273, offset: 622.5454711914062 | |
[Tue Mar 02 2021 16:07:33.541] LOG velocity: 25, offset: 749.8181762695312 | |
[Tue Mar 02 2021 16:07:33.556] LOG velocity: 24.733333587646484, offset: 884.727294921875 |
This file contains 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
[Thu Mar 04 2021 21:20:47.190] LOG getMonthInterpolateConfig: {"start":24255,"end":24355,"height":40} | |
[Thu Mar 04 2021 21:20:47.246] LOG state: 0, velocity: 0 | |
[Thu Mar 04 2021 21:20:47.264] LOG CalendarScrollableMonths: render! | |
[Thu Mar 04 2021 21:20:47.362] LOG state: 0, velocity: 0 | |
[Thu Mar 04 2021 21:20:49.190] LOG state: 1, velocity: 0 | |
[Thu Mar 04 2021 21:20:49.360] LOG state: 5, velocity: -11.105178833007812 | |
[Thu Mar 04 2021 21:20:49.490] LOG state: 5, velocity: 28.733333587646484 | |
[Thu Mar 04 2021 21:20:49.500] LOG state: 2, velocity: -65.48081970214844 | |
[Thu Mar 04 2021 21:20:49.530] LOG state: 3, velocity: -65 | |
[Thu Mar 04 2021 21:20:49.680] LOG state: 5, velocity: 12.736842155456543 |
This file contains 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
[me@localhost test-react-native]$ yarn lint | |
yarn run v1.22.0 | |
$ eslint . | |
/home/me/test-react-native/IntegrationTests/AppEventsTest.js | |
41:5 warning Do not use setState in componentDidMount react/no-did-mount-set-state | |
/home/me/test-react-native/Libraries/Animated/__tests__/Animated-test.js | |
139:5 warning Skipped test jest/no-disabled-tests |