Decide Which Prototype State Survives Refresh
@prranitarora▲ 9 net votes
If a demo has several steps, decide whether a browser refresh should preserve the current step or return to the beginning. Making that choice explicit avoids confusing behavior during a walkthrough.
1 COMMENT
A reload keeps
sessionStoragevalues but not in a new tab, whilelocalStoragepersists across visits, so a stale demo step can reappear later. Encoding the step in the URL hash or query string makes the reset behavior visible and shareable. Seen another edge case with this? Add it below.