Back to Tldraw

Persistence key

apps/examples/src/examples/configuration/persistence-key/README.md

5.2.2207 B
Original Source

Persist the editor's content between sessions by using a persistence key.


If the persistenceKey prop is provided to the <Tldraw/> component, the editor will persist its data locally under that key.