kolibril13 / jupyter-tldraw

the very good free whiteboard tldraw in the jupyter output
MIT License
252 stars 19 forks source link

jupyter-tldraw is currently broken #13

Closed kolibril13 closed 1 year ago

kolibril13 commented 1 year ago

jupyter-tldraw has a lot of moving pieces: tldraw, ipyreact and esm.sh(for package delivery). Since the latest release of esm.sh, jupyter-tldraw throws the error: Cannot read properties of null (reading 'useRef')

There are two possible solutions here:

  1. There might be a way to pin a specific version of esm.sh in ipyreact, as suggested here: https://github.com/widgetti/ipyreact/issues/42

One could try to solve this issue by updating tldraw-v1 to tldraw-v2: #9

kolibril13 commented 1 year ago

Fixed by https://github.com/esm-dev/esm.sh/releases/tag/v128 🎉