DeFUCC / gun-vue

Vue + Gun = reactive p2p crypto graph app toolkit. Vue 3 composables and components, a relay server, a demo app and more!
http://gun-vue.js.org/
77 stars 20 forks source link

routing to space page may get error upon first visit, likey from composable useDraw #32

Closed lospringliu closed 1 year ago

lospringliu commented 1 year ago

reproduce

  1. visit https://gun-vue.js.org/
  2. do a full page refresh
  3. cliek Space

screenshot

image
davay42 commented 1 year ago

This seems to happen only after returning to a root room from a nested room. Seems like the components got updated with :key="route.path" and the target elements are not ready to get mounted - hence the errors from the drauu lib and my SVGMouse adapter that mounts to an SVG.

This needs a deep debugging on multiple layers. Let's see if we can do it at this stage. Or may be just reload the page after changing the room for now? %)

lospringliu commented 1 year ago

yes, likely because it is a new room and only one user is there.