TextGeometry loads/renders only after hot-reload update #2419
willkuerlich
started this conversation in
Ideas
Replies: 1 comment
-
i'd suggest to use https://github.com/pmndrs/drei#text3d i don't experience any issues with it: https://drei.pmnd.rs/?path=/story/abstractions-text3d--text-3-d-st three including placeholders in their exports is very unfortunate but that's out of our hands. they remove it after a few versions, until then you need to extend in the function body like somebody mentioned in that thread. the drei component does the same thing. function T(...) {
extend({ TextGeometry })
...
<textGeometry /> |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've tried
and
and on initial page load the text does not display with an error of
THREE.TextGeometry has been moved to /examples/jsm/geometries/TextGeometry.js
However if I make a change to the file the text renders on hot reload.
Originally posted by @dottodot in #1742 (reply in thread)
Same issue here: "However if I make a change to the file the text renders on hot reload."
Beta Was this translation helpful? Give feedback.
All reactions