I don't understand what is broken with the browser's management of typed content. Do you have an example of UX that requires a custom state management layer on top?
Input management is one of the most difficult aspects of web development once you want anything beyond a simple input. That you have to ask for an example means this conversation isn't going anywhere. Good luck!