\r\n \u003COrbitControls />\r\n \u003CSuspense>\r\n \u003CFBXModel path=\"https://raw.githubusercontent.com/Tresjs/assets/main/models/fbx/low-poly-truck/Jeep_done.fbx\" />\r\n \u003C/Suspense>\r\n \u003CTresDirectionalLight :position=\"[-4, 8, 4]\" :intensity=\"1.5\" cast-shadow />\r\n \u003C/TresCanvas>\r\n\u003C/template>\r\n\r\n```\n\n### System Info\n\n```shell\n\"@tresjs/cientos\": \"^3.8.0\"\r\n\"@tresjs/core\": \"^3.7.0\"\r\n\"@tresjs/nuxt\": \"^2.1.1\"\r\n\"@tresjs/post-processing\": \"^0.7.0\"\r\n\"nuxt\": \"^3.10.3\"\r\n\"three\": \"^0.162.0\"\r\n\"vue\": \"^3.4.21\"\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/cientos/blob/main/CODE_OF_CONDUCT.md)\n- [X] Read the [Contributing Guidelines](https://github.com/Tresjs/cientos/blob/main/CONTRIBUTING.md).\n- [X] Read the [docs](https://cientos.tresjs.org/guide).\n- [X] Check that there isn't [already an issue](https://github.com/Tresjs/cientos/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.",[],364,"Failed to resolve import \"tweakpane\" from \"node_modules/@tresjs/cientos/dist/trescientos.js?v=617975b6\". Does the file exist?","2024-03-17T11:34:37Z","https://github.com/Tresjs/cientos/issues/364",0.72099185,{"description":2948,"labels":2949,"number":2953,"owner":2863,"repository":2864,"state":2934,"title":2954,"updated_at":2955,"url":2956,"score":2957},"\nAdd a `lint-pr.yaml` to the CI/CD to check quality of PRs using https://github.com/amannn/action-semantic-pull-request\n\n```\nfeat(ui): Add `Button` component\n^ ^ ^\n| | |__ Subject\n| |_______ Scope\n|____________ Type\n```\n\n```\nname: \"Lint PR\"\n\non:\n pull_request_target:\n types:\n - opened\n - edited\n - synchronize\n\njobs:\n main:\n name: Validate PR title\n runs-on: ubuntu-latest\n steps:\n - uses: amannn/action-semantic-pull-request@v5\n env:\n GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n```\n\n",[2950],{"name":2951,"color":2952},"v2","FEE22E",212,"Linter for PRs","2023-04-19T13:55:48Z","https://github.com/Tresjs/tres/issues/212",0.72493654,{"description":2959,"labels":2960,"number":2961,"owner":2863,"repository":2864,"state":2934,"title":2962,"updated_at":2963,"url":2964,"score":2965},"### Description\r\n\r\nBased on https://github.com/orgs/Tresjs/discussions/321\r\n\r\nAs a plugin author, I will like to have a reactive state with the following characteristics:\r\n\r\n- Performant, (use of `shallowRef` where needed)\r\n- read-only\r\n- Strictly Typed\r\n- Reduce side effects on watchers\r\n- Needs to work on cientos and the rest of ecosystem via `provide/inject` \r\n\r\n### Suggested solution\r\n\r\n| Name | Type | Requirement | Details |\r\n| ---------------------------------- | -------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\r\n| scene | readonly, shallowRef | essential | |\r\n| cameras | readonly, shallowRef | essential | userData.TRES_IS_ACTIVE_CAMERA = true\u003Cbr>const cameras = shallowRef([]) return { cameras: readonly(cameras)} |\r\n| camera | computed, readonly | essential | |\r\n| pushCamera(newCamera: Camera, setActive: boolean) | function | essential | cameras should be watched and removed from the cameras array if they got removed from the scene |\r\n| removeCamera(camera: Camera) | function | essential ||\r\n| setCamera(cameraId string) | function | essential ||\r\n| renderer | readonly, shallowRef | essential | setRenderer(renderer: Renderer)\u003Cbr>maybe only callable once? |\r\n| setRenderer(renderer: Renderer) | function | essential ||\r\n| sizes (height, width, aspectRatio) | readonly | handy | sizes: {\u003Cbr> height: Ref\u003Cnumber>\u003Cbr> width: Ref\u003Cnumber>\u003Cbr> aspectRatio: Computed\u003Cnumber>\u003Cbr>} |\r\n\r\n### Alternative\r\n\r\n_No response_\r\n\r\n### Additional context\r\n\r\n_No response_\r\n\r\n### Validations\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.",[],331,"New and better state context provider","2023-07-29T08:58:56Z","https://github.com/Tresjs/tres/issues/331",0.72825027,{"description":2967,"labels":2968,"number":2969,"owner":2863,"repository":2864,"state":2934,"title":2970,"updated_at":2971,"url":2972,"score":2973},"### Describe the bug\r\n\r\nAfter updating to `@4.2.0` I have begun seeing this error on mount and it points to my `router.ts` from `main.ts`\r\n> [Vue warn]: onUnmounted is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.\r\n\r\nI'm caching my `GLTF` model in a `pinia` store and this technique works fine in `4.0.2`. `cientos@4.0.0-next.1`.\r\nWhen I leave my experience page, I get the same error again and my cached model does not load. \r\n\r\n### Reproduction\r\n\r\n https://stackblitz.com/edit/tresjs-minimal-reproduction-7zvlfu?file=src%2Fstore.ts,src%2FApp.vue,src%2Fcomponents%2FTheExperience.vue\r\n\r\n### Steps to reproduce\r\n\r\n1) Load a model using `useGLTF` and store it in a `pinia` store as a `shallowRef`. \r\n2) `onMount` of the component that uses the model the `vue warn` appears. \r\n3) Navigate away from the page (by clicking the top buttons in repro)- the error appears a second time. \r\n4) Navigate back - the model is gone.\r\n\r\n### System Info\r\n\r\n```shell\r\nSystem:\r\n OS: Linux 5.0 undefined\r\n CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz\r\n Memory: 0 Bytes / 0 Bytes\r\n Shell: 1.0 - /bin/jsh\r\n Binaries:\r\n Node: 18.20.3 - /usr/local/bin/node\r\n Yarn: 1.22.19 - /usr/local/bin/yarn\r\n npm: 10.2.3 - /usr/local/bin/npm\r\n pnpm: 8.15.6 - /usr/local/bin/pnpm\r\n npmPackages:\r\n @tresjs/cientos: ^4.0.0-next.1 => 4.0.0-next.1 \r\n @tresjs/core: ^4.2.0 => 4.2.1 \r\n vite: ^5.3.2 => 5.3.2\r\n```\r\n\r\n\r\n### Used Package Manager\r\n\r\nnpm\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.",[],784,"[Vue warn]: onUnmounted ... after upgrading to `4.2.0` - cached model fails to reload","2024-10-31T06:46:17Z","https://github.com/Tresjs/tres/issues/784",0.72872025,["Reactive",2975],{},["Set"],["ShallowReactive",2978],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fWfwabari4pRModydHEhbnZDF_yKMbncDJnBsIfhtwDs":-1},"/Tresjs/cientos/461"]