You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to get fluid glass to work on a blank project and I'm completely stuck.
I've installed everything, the import and jsx file both have correct file paths, and the project works when I use something like dotGrid instead. Annoyingly errors being errors I have no idea what I've done wrong, above you can see an error on barProps but I'm not sure what to put in there. The website mentions 'Props specific to lens mode including material properties like ior, thickness, transmission' but I'm not sure what this means, it's the only error in the project that makes sense in english, aside from stuff in the console like:
You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it.
If this is the issue it seems like it comes from the jsx file and I have no idea what I'm doing there. It's probably just a lack of understanding on my end, I'm still quite new to react but I'd appreaciate any help!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to get fluid glass to work on a blank project and I'm completely stuck.
I've installed everything, the import and jsx file both have correct file paths, and the project works when I use something like dotGrid instead. Annoyingly errors being errors I have no idea what I've done wrong, above you can see an error on barProps but I'm not sure what to put in there. The website mentions 'Props specific to lens mode including material properties like ior, thickness, transmission' but I'm not sure what this means, it's the only error in the project that makes sense in english, aside from stuff in the console like:
If this is the issue it seems like it comes from the jsx file and I have no idea what I'm doing there. It's probably just a lack of understanding on my end, I'm still quite new to react but I'd appreaciate any help!
P.S. The fluid glass is so cool, well done!
Beta Was this translation helpful? Give feedback.
All reactions