DEV Community

Discussion on: A few reasons why I love Solid.js

Collapse
 
uminer profile image
Moshe Uminer

What particular areas do you get blocked on? I can focus on documenting those parts next.

I'm not sure right now... Generally though, I can't feel that I "know" what to reach for when I want something, if I don't know everything that's in my toolbox. It's also basically my first foray into 3d, so 🤷.

Is glas meant to replace solid in lume? Or replace lume itself? I know you have lot's of projects, but I don't understand how they all fit together.

But also, if you have any questions, you can also come directly to me. :)

I'll definitely take you up on that. I'll see you on discord 😄.

Thread Thread
 
trusktr profile image
Joe Pea • Edited

Yeah, i can see how already having 3D knowledge (f.e. knowing how Three.js works) would help.

Currently the custom elements use Three.js underneath for the WebGL rendering. Glas will replace the underlying Three.js as the lower level WebGL rendering mechanism, while the custom elements on top will remain the same. Essentially, if you're only using the HTML elements, you shouldn't notice a difference, only the WebGL rendering mechanism that is abstracted underneath will change. You would only notice any difference if you are reaching inside of the elements to grab the Three.js instances to do something custom that is not supported by the element interfaces yet. For example, if you were to access element.three, that gives you the Three.js object that the element manipulates, and that part will change to be glas objects. TLDR: If you stick to LUME element attributes and properties (except for .three, which I may not document) then you'll not notice anything.