\r\n \u003CTresMeshStandardMaterial v-bind=\"pbrTexture\" />\r\n \u003C/TresMesh>\r\n\u003C/template>\r\n```\r\n\r\nHere we are getting the ref for the mesh with the Mesh instance so we can update the rotation, but `boxRef` remains a Proxy, a solution would be to `unref` or use a shallowRef since Direct template ref are not available see https://github.com/vuejs/core/issues/1227\r\n\r\n\r\nI would love to have your input here @wheatjs @kissu @Astanusic \r\n\r\n## Food for though \r\n\r\nhttps://discoverthreejs.com/tips-and-tricks/#performance ",[2936,2939],{"name":2937,"color":2938},"help wanted","008672",{"name":2940,"color":2941},"discussion 💭","AE4C80","Performance discussion","2023-12-13T08:55:23Z","https://github.com/Tresjs/tres/issues/33",{"description":2946,"labels":2947,"number":2958,"owner":2868,"repository":2916,"state":2917,"title":2959,"updated_at":2960,"url":2961,"score":2962},"### Describe the bug\r\n\r\nThere is an issue with the automatic disposal, some elements like\r\n\r\n- GridHelper\r\n- AxesHelper \r\n\r\nAre throwing this error when the scene is unmounted\r\n\r\n```\r\nchunk-SRLW6FY7.js?v=a19e4a6b:30745 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'dispose')\r\n at AxesHelper.dispose (chunk-SRLW6FY7.js?v=a19e4a6b:30745:19)\r\n```\r\n\r\n### Reproduction\r\n\r\nlocal playground\r\n\r\n### Steps to reproduce\r\n\r\n- Run playground with `npm run dev`\r\n- Open `conditional` example\r\n- Go back\r\n\r\n### System Info\r\n\r\n```shell\r\nSystem:\r\n OS: macOS 14.3.1\r\n CPU: (8) arm64 Apple M1 Pro\r\n Memory: 60.73 MB / 16.00 GB\r\n Shell: 5.9 - /bin/zsh\r\n Binaries:\r\n Node: 20.12.2 - ~/.nvm/versions/node/v20.12.2/bin/node\r\n Yarn: 1.22.19 - /usr/local/bin/yarn\r\n npm: 10.5.0 - ~/.nvm/versions/node/v20.12.2/bin/npm\r\n pnpm: 8.15.4 - ~/Library/pnpm/pnpm\r\n bun: 1.0.2 - ~/.bun/bin/bun\r\n Browsers:\r\n Brave Browser: 120.1.61.116\r\n Chrome: 124.0.6367.207\r\n Safari: 17.3.1\r\n npmPackages:\r\n @tresjs/cientos: 3.8.0 => 3.8.0 \r\n @tresjs/core: workspace:^ => 4.0.0-rc.0 \r\n @tresjs/leches: 0.15.0-next.3 => 0.15.0-next.3\r\n```\r\n\r\n\r\n### Used Package Manager\r\n\r\npnpm\r\n\r\n### Code of Conduct\r\n\r\n- [X] I agree to follow this project's [Code of Conduct](https://github.com/Tresjs/tres/blob/main/CODE_OF_CONDUCT.md)\r\n- [X] Read the [Contributing Guidelines](https://github.com/Tresjs/tres/blob/main/CONTRIBUTING.md).\r\n- [X] Read the [docs](https://tresjs.org/guide).\r\n- [X] Check that there isn't [already an issue](https://github.com/tresjs/tres/issues) that reports the same bug to avoid creating a duplicate.\r\n- [X] The provided reproduction is a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the bug.",[2948,2949,2952,2955],{"name":2926,"color":2927},{"name":2950,"color":2951},"v4","7980EA",{"name":2953,"color":2954},"p4-important-bug","D93F0B",{"name":2956,"color":2957},"regression","167F7A",682,"Helpers diposal error since latest threejs update","2024-05-16T06:51:51Z","https://github.com/Tresjs/tres/issues/682",0.74251676,{"description":2964,"labels":2965,"number":2973,"owner":2868,"repository":2916,"state":2917,"title":2974,"updated_at":2975,"url":2976,"score":2977},"### Describe the bug\n\nI am using tresjs and would like to reference my newly loaded .glb and a directional light.\r\nI should say, the page actually functions as expected, however the red squiggly line appears in my local VSCode with an error, and so would like to nail it down if possible.\r\n\r\n\r\nFinal note: this typescript compiler error only occurs on my local VSCode system, as can be seen from the StackBlitz link below, it doesn't occur there.\r\nSo I'm not sure if this is even a bug, but I'd like to ask for help to remove the red squiggly line from my local system, thanks if possible.\n\n### Reproduction\n\nhttps://stackblitz.com/edit/vitejs-vite-qn7w4v\n\n### Steps to reproduce\n\nI've tried changing the type of ref to a few things, eg: \u003CTHREE.DirectionalLight>, however nothing seems to remove this error:\r\n\r\n(property) ref?: ((Ref\u003CTHREE.DirectionalLight> | Readonly\u003CRef\u003CTHREE.DirectionalLight>>) & VNodeRef) | undefined\r\n\n\n### System Info\n\n```shell\nHere is my package.json for that project:\r\n\r\n{\r\n \"name\": \"tresjs_1\",\r\n \"private\": true,\r\n \"version\": \"0.0.0\",\r\n \"type\": \"module\",\r\n \"scripts\": {\r\n \"dev\": \"vite\",\r\n \"build\": \"vue-tsc && vite build\",\r\n \"preview\": \"vite preview\"\r\n },\r\n \"dependencies\": {\r\n \"@tresjs/cientos\": \"^2.1.3\",\r\n \"@tresjs/core\": \"^2.1.2\",\r\n \r\n \"three\": \"^0.153.0\",\r\n \"three-stdlib\": \"^2.23.9\",\r\n \"vue\": \"^3.2.47\"\r\n },\r\n \"devDependencies\": {\r\n \r\n \"@types/three\": \"^0.152.1\",\r\n \"@vitejs/plugin-vue\": \"^4.1.0\",\r\n \"typescript\": \"^5.0.2\",\r\n \"vite\": \"^4.3.9\",\r\n \"vue-tsc\": \"^1.4.2\"\r\n }\r\n}\n```\n\n\n### Used Package Manager\n\nnpm\n\n### Code of Conduct\n\n- [X] I agree to follow this project's [Code of Conduct](https://github.com/Tresjs/tres/blob/main/CODE_OF_CONDUCT.md)\n- [X] Read the [Contributing Guidelines](https://github.com/Tresjs/tres/blob/main/CONTRIBUTING.md).\n- [X] Read the [docs](https://tresjs.org/guide).\n- [X] Check that there isn't [already an issue](https://github.com/tresjs/tres/issues) that reports the same bug to avoid creating a duplicate.\n- [X] The provided reproduction is a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the bug.",[2966,2967,2970,2971,2972],{"name":2926,"color":2927},{"name":2968,"color":2969},"good first issue","7057ff",{"name":2937,"color":2938},{"name":2910,"color":2911},{"name":2913,"color":2914},301,"Typescript compiler error for refs with tresjs","2023-07-11T11:38:59Z","https://github.com/Tresjs/tres/issues/301",0.74635696,{"description":2979,"labels":2980,"number":251,"owner":2868,"repository":2869,"state":2917,"title":2982,"updated_at":2983,"url":2984,"score":2985},"### Describe the bug\n\nPretty much self explanatory, after upgrading to v2, I get this error `Cannot find module 'vite-plugin-glsl'` \r\n\r\nI had a look in the source code, and looks like the problem originates here\r\n\r\nhttps://github.com/Tresjs/nuxt/blob/4039d2578267fb04295d94ad3c816895df98721b/src/module.ts#L8\r\n\r\nbasically the package is imported but in `package.json` is only included in `devDependencies`, so not installed when installing the module.\r\n\r\nMoving it to `dependencies` should fix this.\n\n### Reproduction\n\n---\n\n### Steps to reproduce\n\n_No response_\n\n### System Info\n\n_No response_\n\n### Used Package Manager\n\npnpm\n\n### Code of Conduct\n\n- [X] I agree to follow this project's [Code of Conduct](https://github.com/Tresjs/tres/blob/main/CODE_OF_CONDUCT.md)\n- [X] Read the [Contributing Guidelines](https://github.com/Tresjs/tres/blob/main/CONTRIBUTING.md).\n- [X] Read the [docs](https://tresjs.org/guide).\n- [X] Check that there isn't [already an issue](https://github.com/tresjs/tres/issues) that reports the same bug to avoid creating a duplicate.\n- [X] The provided reproduction is a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the bug.",[2981],{"name":2926,"color":2927},"`Cannot find module 'vite-plugin-glsl'` after upgrading to v2 `","2023-12-12T16:36:54Z","https://github.com/Tresjs/nuxt/issues/69",0.7503886,["Reactive",2987],{},["Set"],["ShallowReactive",2990],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fUEheDtxrLweBOBgtKjSktY83zM3iOFA8pYj4M9hwM1A":-1},"/Tresjs/tres/619"]