Skip to content

ogygia warning

context_dropped

context ‹key› could not be serialized for regions and was dropped: regions read undefined. Pass plain data, or a wired class for a value with methods; or set it with { islands: false } if no region reads it.

A context value set above regions could not be serialized, so regions in the browser do not see it. Pass plain data. For a value with methods, make it a wired class (static wire = import.meta.og.wire(…)): every region gets the one live instance. If no region reads the key, set it with setContext(key, value, { islands: false }).

Every error and warning