Error codesRouter

document.tsrx reads shared()

MARKLESS_ROUTER_DOCUMENT_SHARED_UNSUPPORTEDerrorMarkless raises it while a page runs.

The message

MARKLESS_ROUTER_DOCUMENT_SHARED_UNSUPPORTED: the document reads shared() <names>, but the router serves only the document's HTML and never wires it in the browser, so it would keep showing the starting value after a write. Read the value in a component the page renders, and set the class or attribute on an element there.

Words in angle brackets change from case to case.

Why

A Markless runtime error from @markless/router.

Fix

Read the message above: it names the value or file involved. If it does not help, open an issue with the steps that cause it.

Where Markless raises it

All error codes

Button sounds are from Josh Comeau's Button Sounds library.