Switching from non-plain type to plain type renders initial state.text, which wasn't being properly updated on all changes.