@mocanvas/editor · constant

defaultUserStore

declare const defaultUserStore: UserStore

A UserStore over the local preferences: one person, this browser.

Attribution needs *some* answer even when an app has no directory to ask — a solo board still wants "you" on the shapes you made. This is that answer, and it is entirely local: no service, no lookup, nothing leaves the page. An unknown id resolves to null rather than to a placeholder, so a UI can tell "somebody I cannot name" from "nobody".

Mentioned here

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.