We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Atm HMR disposal is not working as expected. Meshes are duplicated and this could lead to performance issues on large scenes.
Also not nice for DX. User needs to reload everytime.
This one is pretty tricky.
Renderer, scene and object follow a disposal flow when HMR hits
The text was updated successfully, but these errors were encountered:
Update: I realized that HMR works differently if the changes come from the experience <script> tag (reloads js) rather than the <template> (doesn't)
<script>
<template>
We will need to only dispose of scene objects when changes come from the template.
Sorry, something went wrong.
I opened a ticket on vitejs/vite-plugin-vue#103
I opened a ticket on vitejs/vite#12097 with a possible solution, it will need to be done with 2 PRs, one for Vite and another for Vue Plugin
+1
Successfully merging a pull request may close this issue.
Atm HMR disposal is not working as expected. Meshes are duplicated and this could lead to performance issues on large scenes.
Also not nice for DX. User needs to reload everytime.
This one is pretty tricky.
Desired solution.
Renderer, scene and object follow a disposal flow when HMR hits
The text was updated successfully, but these errors were encountered: