``` private fun onFormSubmit() { props.eve...
# react
p
Copy code
private fun onFormSubmit() {
        props.eventHandler.onSubmitForm(
            text = state.inputValue,
            userId = props.userId
        )
        TODO change url to "/some_url"
    }
what is the best way to do the same in kotlin-react