gleam-lang / playground

18 stars 3 forks source link

Example projects #4

Open isaacharrisholt opened 4 months ago

isaacharrisholt commented 4 months ago

Include some example projects in the playground, a la the Go playground. This should be quite straightforward - just listen for a change in the select dropdown (assuming we go that route) and redirect to a new URL with an updated title/hash.

One thing to think about is alerting the user if they've made changes to the current buffer (checking if it's different to decompressed_hash_code ?? default_code).