How do I optimise the remotion player? #5329
Unanswered
gajraj-gan
asked this question in
Q&A
Replies: 1 comment
-
|
Biggest wins, roughly in order of impact:
Profiling tip: React DevTools' profiler on the playing Player will show you exactly which component is re-rendering expensively per frame — it's usually one or two offenders, not everything. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am trying to optimise the remotion player, i have bunch of transitionSeries.Sequence and transitionSeries.Transition, in form of Sequence -> Transition -> Sequence -> Transition and so on.....the thing the components inside my Sequence are getting heavy, I have noticed all the sequence are rendered at once and they are behind each other altho only one is visible at a time.
When I play the player, the components using useCurrentFrame start re rendering, I thought they were bound to the nearest sequence and others should not start re rendering ? Is this obvious behavior or am I missing something?
Beta Was this translation helpful? Give feedback.
All reactions