BuilderIO / mitosis

Write components once, run everywhere. Compiles to React, Vue, Qwik, Solid, Angular, Svelte, and more.
https://mitosis.builder.io
MIT License
12.36k stars 549 forks source link

Mitosis Playground refresh the page to reset the settings #1456

Open codeusb opened 4 months ago

codeusb commented 4 months ago

I am interested in helping provide a fix!

Yes

Which generators are impacted?

Reproduction case

https://mitosis.builder.io/playground/?code=DwZwxgTglgDgLgPgFAAIUBsCmcUDsCGAtpigLwoBEAynJgG6YUDcSwA9ONPMqwCZR1kaYFFwwArjjDp8IEKQqiJcCigBGo3gC46%2BdOMykA3gWIBfFGyEoAEpnToA9gEIUASRRh8uFBHE%2BCOAF7AE8UURQAJUx8MDgAGhQANQNEqgZ0WkSARQB3KABrRO9eFEJvMMJHCBIAMwgiTFzqgpBnVjZ%2BQSRWEDgQrGsAOiVJFCNUNE9HJwgtX0xeFjQzDr6BzAQgA%3D

Expected Behaviour

Select svelte in the input section, refresh the page and still select svelte, or reset to jsx and the code is reset together

Actual Behaviour

Select svelte in the input section and refresh the page select jsx but the code is still svelte. And the output has partially reported the error

Additional Information

No response

JerryWu1234 commented 1 month ago

What sets do you prefer to keep ?