|
|
|
|
|
by hirako2000
1773 days 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. |
|