Open up a modal on page load?

Is there another way to do that than doing a JS query on page load? Seems like JS queries on page load are not very performant, and could make use of a more performant way to do so.

E.g. controlling open state of a modal through URL parameters, which doesn't seem possible right now.

My first question is why have a modal open on page load? Is it a notification? Is it a form?
You might have a better UX solution depending on what you're looking to do.

Hi @lauri :wave:

Sorry for the late reply here. In what way is your JS query not being performant? I personally don't know of another way to open a modal on page load, and if there's an issue with the JS query running it may be something that we can either fix or should be addressed.