theme.liquid.
No. Your theme reads the cart from Shopify as usual. The script reloads the page once when it switches your store to the shared cart, so your header count and cart drawer show the right items. To avoid the reload, customize updateCartUI at the top of the script.
More in Share a Cart With Your Shopify Theme.