I want to put some variables outside the functional component because I don't want them to get re-initialized on re-render. I am wondering how they will get cleared from the memory.
I want to put some variables outside the functional component because I don't want them to get re-initialized on re-render. I am wondering how they will get cleared from the memory.