All Questions
6 questions
0
votes
0
answers
25
views
Does triggering component renders during animation frame wait til frame is done, or synchronously reflow/paints then finish the frame callback?
I've seen a few similar-ish questions but I'm struggling to find a definitive answer - any advice appreciated!
Consider:
you have a react component
you have an animation loop running via ...
1
vote
1
answer
33
views
React - Prevent child re-render when browser resize
I have a react app with a scenario where a parent component with 3 different layouts where the child components are rendered. The layout (3 fragments (default) or 2 fragments or 1 fragment) is decided ...
0
votes
0
answers
35
views
requestAnimationFrame calculation speed does not catch up with scroll speed
I'm using requestAnimationFrame to simulate position fixed behavior.
I update top position of the element each time the scroll event fired
But when scrolling, I think requestAnimationFrame calculation ...
4
votes
1
answer
997
views
Does React only re-rendering what has changed benefit rendering speed?
Why does React's functionality of "only updating what's necessary" matter to performance?
From https://facebook.github.io/react/docs/rendering-elements.html#react-only-updates-whats-necessary
Does ...
-1
votes
1
answer
465
views
React jank performance optimization
While profiling the react application that I work on I see few frames duration as 300ms. Timeline results show 5.5 ms spent in rendering and 0.5 ms in scripting and painting and that adds up to 6 ms. ...
1
vote
1
answer
324
views
Inspect browser rendering performances on a mobile or phonegap application
I am developping a Phonegap application using nice UI tools, like ReactJS, with requestAnimationFrame and things like that.
I am trying to have rendering performances of 60fps.
According to this ...