danilowoz / create-content-loader

✏️ Tool to create your own react-content-loader easily.

Home Page:https://skeletonreact.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Save the last draft on localstorage

danilowoz opened this issue · comments

Problem:
Lost the last draw on the canvas.

Solution:
An option to recover the last draw.

Implementation:
Every time the canvas is updated, save the code on localstorage. Then when the user opens the page again, show a button See your last draft above the canvas which it will update the canvas with data from localstorage and it will hidden the button itself