Why can't you allow typing and just consume the state of the text input as the initial state of the js logic?
how you type is also part of the signal
how you type is also part of the signal