You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sure, the approach is pretty basic, here's what I think :
We can save a key-value pair in local-storage where key corresponds to the chosen language and value corresponds to the
currently written code.
Every time when the user tries to switch the language we can render the code if its present in the local-storage otherwise we
can render the default boiler plate of that language.
User's code on one language gets erased on switching to another language.
I'm willing to take this up.
The text was updated successfully, but these errors were encountered: