theatre
theatre copied to clipboard
studio.transaction set method is throwing error when same code used with old and new versions
Thanks for inventing this framework/lib.
Facing issues with studio.transaction set method.
Current package versions which is throwing error on set method
"@theatre/core": "^0.7.0",
"@theatre/studio": "^0.7.0",
"next": "14.1.0",
Old package versions - no error
"@theatre/core": "^0.4.7",
"@theatre/studio": "^0.4.7",
"react": "^17.0.2",
"react-dom": "^17.0.2"
TheatreSheetObject props(proxy object) shows diff implementation get(obj, props) vs get(pointerKey, prop)
Right-side old version - ^0.4.7
Left-side new version - ^0.7.0
TheatreSheetObject implementation is different across versions
Please help. Thanks.
@rm-vt This looks interesting. Is there any way you can share a reproduction on Stackblitz/Codesandbox/Git repo?
Sure. @AriaMinaei
Setup with old package versions: https://codesandbox.io/p/devbox/theatre-js-svg-animation-updated-forked-n63dy7
Setup with new package versions: https://codesandbox.io/p/devbox/threatrejs-nextjs-latest-svg-l98nvw
Please drag the robot hand as pointed out on both of the above setup to see the error!
Thanks.