Now when a modal window is called, a request is made to the server and only then is the modal rendered. Depending on the speed of the internet connection, this can take from a few milliseconds to a few seconds.
I think it would be useful to have a customisable mode where the modal window opens immediately after the call, and the content is loaded afterwards (a preloader or skeleton could be used for the loading time).
This would be especially useful for users from countries with slow internet.
Yeah, that would be interesting! For now, you can use the loading state on the ModalLink component. I will convert this to a discussion to keep the issues clean.
Now when a modal window is called, a request is made to the server and only then is the modal rendered. Depending on the speed of the internet connection, this can take from a few milliseconds to a few seconds.
I think it would be useful to have a customisable mode where the modal window opens immediately after the call, and the content is loaded afterwards (a preloader or skeleton could be used for the loading time).
This would be especially useful for users from countries with slow internet.