Pregunta de entrevista de CoinSwitch

In React Native, explain the difference between controlled and uncontrolled components when dealing with TextInput. Provide a code example to illustrate the difference and discuss scenarios where you would choose one over the other.