Query for data after Opening Dropdown?
Does it make sense to query for the data after opening a dropdown, or would it just make sense for the data to be queried on mount?
2 Replies
optimistic-gold•4y ago
You can do that however you like
ambitious-aqua•4y ago
Keep in mind that if you query the data when the drop-down is mounted, you would get requests even when the user does not interact with the drop-down. So it really depends on the usage.