no-stack-dub-sack / cs-playground-react

In-Browser Algorithm and Data Structures Practice
http://cs-playground-react.surge.sh/
MIT License
520 stars 91 forks source link

[staging]: add repl share feature & address ls overwrite problem #62

Closed no-stack-dub-sack closed 6 years ago

no-stack-dub-sack commented 6 years ago

when sharing a repl, if two cs-pg-react tabs are open, the user has the potential to lose saved work depending on the order that the browser tabs are closed, since local storage is only updated when user navigates away from page. Find solution to this problem!