Load Checkout On Page Load

What is the best practice for loading the checkout form on page load rather than on button click?

I assume you’re looking for a way to decrease the loading time?

The checkout page is just a Vue component that has already been loaded before you get there, basically. However, the checkout steps do load as you go through them, because they need to make additional requests based on the data you send out. But that’s just e-commerce for you and is not really platform-specific.

Or do you want to know how to change routes to the checkout page when you navigate to a page of your choice?