The example on https://fresh.deno.dev/docs/examples/sharing-state-between-islands shares signals on the module level which would mean that all requests would share the same signal. This is not a good default. We should rewrite the example so that each request gets a new cart signal and that the islands receive the cart as props.
The example on https://fresh.deno.dev/docs/examples/sharing-state-between-islands shares signals on the module level which would mean that all requests would share the same signal. This is not a good default. We should rewrite the example so that each request gets a new cart signal and that the islands receive the cart as props.