MLH-Fellowship / babel-sandbox

Babel repl-like codesandbox: check out link =>
https://codesandbox.io/s/github/babel/sandboxes
MIT License
6 stars 3 forks source link

AST: Save state while switching tabs #91

Closed wlawt closed 4 years ago

wlawt commented 4 years ago

From #90 discussion

In the future, we would want to consider saving the state of the AST Explorer, so that if a user switches between JSON and AST Explorer (for whatever reason), they can just pick up where they left off.

barronwei commented 4 years ago

Preserving the settings of the AST visualization is straightforward, which will be fixed in #90, but keeping track of which part of the tree is toggled is going to be a different story.