Is there any way to clear callbacks for HTML component or forced it to rewrite?
Context of the problem:
The app has header, which is a HTML-component. On every view we set up ‘.on()’ for that component. The header depends on the parameters that this view was called with.
But now it turns out that when you first time enter the view, initialization occurs with some param and when you re-enter this view (but with different param), it shows the old header (with param from the first time) and it prints a message in the console:
Callback for ‘requestHeader’ is already registered for HTML component with ID header