Skip to content

Instantly share code, notes, and snippets.

View retyui's full-sized avatar
undefined

Davyd NRB retyui

undefined
View GitHub Profile
@retyui
retyui / SyncTextInputValidation.tsx
Created January 28, 2026 09:34 — forked from intergalacticspacehighway/SyncTextInputValidation.tsx
Synchronous validation with React Native TextInput
import { TextInput } from 'react-native';
import Animated, {
useAnimatedRef,
useHandler,
dispatchCommand,
useEvent,
} from 'react-native-reanimated';
const AnimatedTextInput = Animated.createAnimatedComponent(TextInput);