4 ms·
For sure it would be nice to see some stress tests of performance. From my experience with React, if it's used properly so that the entire component tree isn't
by gunn 7y ago
For sure it would be nice to see some stress tests of performance.
From my experience with React, if it's used properly so that the entire component tree isn't rendered every frame, I would expect the overhead of using to be almost nil. You can see in the examples the author using React.memo for this.
- yoklov 7y agoSure, but you can't really avoid rerendering every frame with OpenGL. (Not without a lot of tricky caching, at least, which has it's own costs). Not saying this is impractical (Personally, I wouldn't bet on it, but I'm sure it's fine for some things), so much as that the cost model here is fundamentally different.
- gunn 7y agoThe WebGL view might rerender every frame, the react component tree doesn't have to.
- deleted 7y ago[deleted]