Skip to content
VueUse · Lesson 02 of 06 · Builds on Meet VueUse

Saving state with useStorage

Keep a ref in sync with localStorage so a note or a setting survives a reload, and add new fields without breaking old visitors.

Check what stuck

Get 2 of 3 right to finish the lesson.
0 / 3