Replies: 2 comments 5 replies
-
https://codesandbox.io/s/ib0jc?file=/src/WaveMaterial.js I found good examples. |
Beta Was this translation helpful? Give feedback.
0 replies
-
HMR works by "reloading" the entire file or module. The trick is to update the key in React: https://codesandbox.io/s/ib0jc. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using
shaderMaterial
.When I tried to change color of shader material, Hot module replacement doesn't work.
https://codesandbox.io/s/r3f-shader-hmr-npbf5i?file=/src/App.js:402-480
Beta Was this translation helpful? Give feedback.
All reactions