Skip to content

ogygia warning

region_context_key_one_off

‹file› sets context with ogygia's setContext under the one-off symbol ‹key›, which cannot cross into regions: they read undefined in the browser. Key it with a string or Symbol.for('name'); or pass { islands: false } if no region reads it.

Each region wakes as its own root in the browser, so it reads context the page carries across. A one-off Symbol() key has no twin there: nothing in the browser can name it. Use a string key, or Symbol.for('name'), which the browser rebuilds from its name (or createContext from ogygia). If no region reads the key, set it with setContext(key, value, { islands: false }).

Every error and warning