Questions tagged [variables]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3 votes
2 answers
1k views

When should I store a reference to a component instead of searching for it?

In the code I'm doing, I usually use global and local variables, as recommended. If the variable is not going to be used in more than any method, I make it local, otherwise, I make it global. In ...
user avatar