What is considered more optimized?

Changing the visible value or making the element optional ex: {display && <imagebutton/>} or <imagebutton Visible={display} />
2 Replies
Tesmi
Tesmi2mo ago
I think the second, because the first will cause the creation of instances
wAD
wAD2mo ago
the latter but do whatever until it truly matters

Did you find this page helpful?