For anyone wondering what the difference is between R3F and Use.GPU:
R3F is a react reconciler for three.js. You manipulate a three.js scene, which the classic non-reactive renderer then draws.
Use.GPU does not have a non-reactive model nor does it have a notion of a scene. Components just compose and expand to produce lambdas which make calls to the GPU.
It's basically React without a DOM, where components can _only_ render other React components.
The docs go into detail of how this is accomplished and what it means.
R3F is a react reconciler for three.js. You manipulate a three.js scene, which the classic non-reactive renderer then draws.
Use.GPU does not have a non-reactive model nor does it have a notion of a scene. Components just compose and expand to produce lambdas which make calls to the GPU.
It's basically React without a DOM, where components can _only_ render other React components.
The docs go into detail of how this is accomplished and what it means.