aweary / react-copy-write

✍️ Immutable state with a mutable API
MIT License
1.79k stars 54 forks source link

demo is broken #52

Open swyxio opened 5 years ago

swyxio commented 5 years ago

hi brandon!

your demo in the readme: https://codesandbox.io/s/yp34vpk50j is mostly commented out.

i tried to fix it but ran into this weird destructuring issue: https://codesandbox.io/s/qz227r7q0w

can you please take a look? i cant figure it out.

swyxio commented 5 years ago

i made a working todolist demo if that helps https://codesandbox.io/s/nkmow5qx04

aweary commented 5 years ago

Hey @sw-yx! Thanks, I must have made edits to it thinking I had forked it 😬

I'll fix this soon.

swyxio commented 5 years ago

yeah for some reason all these online editors make a bad habit of not making it super clear when you are editing the main thing vs editing a fork. only astexplorer.net does it right, everything immutable

dallanlee commented 5 years ago

I would really like to see a working demo. I've been tracking this issue and I'm surprised it hasn't been fixed after so long.