Ver Fonte

docs: updated docs with new state of hmr

alvarosabu há 2 anos atrás
pai
commit
bbf6daf41f
1 ficheiros alterados com 7 adições e 1 exclusões
  1. 7 1
      docs/advanced/caveats.md

+ 7 - 1
docs/advanced/caveats.md

@@ -2,7 +2,13 @@
 
 
 Our aim is to provide a simple way of using ThreeJS in VueJS with the best developer experience possible. However, there are some caveats that you should be aware of.
 Our aim is to provide a simple way of using ThreeJS in VueJS with the best developer experience possible. However, there are some caveats that you should be aware of.
 
 
-## HMR and ThreeJS
+## ~~HMR and ThreeJS~~
+
+:::info
+
+This has been fixed in **TresJS** v1.7.0 🎉. You can now use HMR without reloading the page 🥹.
+
+:::
 
 
 Hot module replacement (HMR) is a feature that allows you to update your code without reloading the page. This is a great feature that makes development much faster. **TresJS** uses [Vite](https://vitejs.dev/). However, is really tricky to make it work correctly with ThreeJS.
 Hot module replacement (HMR) is a feature that allows you to update your code without reloading the page. This is a great feature that makes development much faster. **TresJS** uses [Vite](https://vitejs.dev/). However, is really tricky to make it work correctly with ThreeJS.