React Native question
Theo in the past has metioned (and demoed!) the differences between controlled and uncontrolled inputs in react native / Expo and showed how slow they can be.
It seems this is only really affects iOS, i am an android user so I have no way to verify.
It looks like Dan Abramov made some noise about this, the team stated it was a regression, and it's (maybe?) no longer an issue.
Can someone who owns an iOS device, or who has seen these slowdowns in the past get resolved, help me confirm I am ok to use controlled inputs again now, or should I use uncontrolled inputs?
Link references:
https://github.com/facebook/react-native-website/pull/4247
https://www.youtube.com/watch?v=lm3QqNrq1CQ
https://x.com/dan_abramov2/status/1842513065952354438
GitHub
Discourage using controlled inputs in React Native because they are...
I don't know what else to do.
Basic controlled text editing is broken in React Native.
For example:
import {useState} from 'react';
import {TextInput} from 'react-na...
Theo - t3․gg
YouTube
React Native is kind of broken (they NEED to fix this)
I can't believe they actually recommend controlled inputs. My god this is bad.
Thank you Posthog for sponsoring!!!
SOURCE
https://x.com/dan_abramov2/status/1842513065952354438
Check out my Twitch, Twitter, Discord more at https://t3.gg
S/O Ph4seOn3 for the awesome edit 🙏
0 Replies