I am using a toggled pulldown menu in my navbar. This is a component that is displayed if the user clicks on the menu icon or on the user name. I use it in several screens but if I divert to another screen with this navbar the menu does not display anymore.
I debugged it and found that the this object is undefined in the called screen (please see screen print below).
Is that because a component only gets instantiated once and has only one state in the whole app? How can I get around this?