I’ve been looking around a little more, trying to understand and is this correct - I would pass the storeId from the Koa middleware to the front end with each request?
I’m able to save it as a cookie - however now I have 3 more questions:
Is this the correct way to handle this?
Won’t it be set each request - is this ok?
Reading the cookie seems troublesome now. The cookie is in the child frame (as the app sits in its own iframe).