The problem: I need to clear a TextInput after some user interaction.
The request: expose some kind of clear() or even setText() functionality.
I understand that this is exactly the mutative approach to UI programming, that React is trying to get rid of. But as the docs state them selfs, a controlled approach to the TextInput component using the value property doesn't perform.
My current solution is to set the value property to null once on the next render after the user interaction. But this feels rather clunky. Since the declarative approach seems to break down with the TextInput implementation I would argue for exposing the mutative API.