Open amapic opened 1 year ago
the error is weird and unfamiliar to me. can you try to maybe wrap the surface in a <div>
? maybe Surface don't properly render on the SSR side, weird behavior because my website manage to make gl-react work through next.js
for instance: https://github.com/gre/gre/blob/master/pages/shaderday/%5Bday%5D/index.js (which renders Visual which uses a gl react shader => example https://greweb.me/shaderday/1 )
hello,
I am using gl-react-headless with next.js. Nothing is rendered and I have this error:
What to do ?
here's my code: