ogygia error
prop_ not_ serializable
island "‹entry›": a captured prop is not serializable — ‹detail›. Captured host values cross the boundary via devalue; functions/Promises cannot, and a class instance only can when the class declares a static [ogygia.wire] codec. Pass a serializable value, add a codec, or move that logic inside the island component.
An island's props are serialized into the page so the browser can hydrate it. Functions and promises cannot be serialized, and a class instance can only when its class declares a wire codec.
Pass plain data, give the class a codec, or move the logic inside the island.