Skip to content

Commit 4691944

Browse files
committed
Add screencapture gif to illustrate persistance
1 parent af5bb15 commit 4691944

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

TUTORIAL.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -496,6 +496,8 @@ We've come a long way on our journey to create a custom block editor. But there
496496
one major area left to touch upon - Block persistance; that is the act of having our
497497
Blocks saved and **available _between_ page refreshes**.
498498

499+
![alt text](screenshots/block-persistance.gif "Screencapture showing added Blocks being restored between page refreshes.")
500+
499501
As this is only an _experiment_ we've opted to utilise the browser's
500502
`localStorage` API to handle saving Block data. In a real-world scenario however
501503
you'd like choose a more reliable and robust system (eg: a database).

screenshots/block-persistance.gif

11.9 MB
Loading

0 commit comments

Comments
 (0)