3 ms·
Except that for three.js, it's react introducing complexity rather than improving the organisation of the code. A simple component with defaults look neat, but
by hirako2000 5y ago
Except that for three.js, it's react introducing complexity rather than improving the organisation of the code.
A simple component with defaults look neat, but start building a complex scene and jsx gets in the way.
three.js isn't dom elements updated in js. The state of each object is updated in the scene depending on more than whether they changed.
Where three.js lacks abstraction is a component system, in plain js, to organise application with decent patterns. Most three apps are a big blob or code.
- runawaybottle 5y agoOkay yes, thank you from saving me from my drivel. Why would three.js care about representing a document model, bubbling up events, and so on. If we do this, we do it fresh.