const { onSubmit } = someFunction()someFunction<form onSubmit={onSubmit(() => { // my callback })} ...>This function should be passed to a tracked scope (like createEffect) or an event handler because it contains reactivity, or else changes will be ignored. on the returning inner function. Likely very simple to fix, if I didn't need the closure for callback I could just store the inner function with createMemo, but I need the closure