remotion-dev/remotion




The issue has been solved
Make the `from` prop of `<Sequence>` optional #1431
JonnyBurger posted onGitHub
š This issue is part of our Hacktoberfest campaign! š Read more about Hacktoberfest here ā This issue is currently assigned to @pabloescoder! š° Thanks to CodeChem for sponsoring this issue!
Currently, <Sequence>
takes two props for timing: from
and durationInFrames
, of which durationInFrames
is optional.
We can also make from
optional.
Acceptance criteria
- Make
from
optional and default it to0
. - Update the documentation and mention that the prop is optional from the next version on
- Go through all uses of
<Sequence>
in the docs and make removefrom={0}
(unless making it more explicit makes it clearer) - Copy this ESLint rule which automatically removes
durationInFrames={Infinity}
: https://github.com/remotion-dev/remotion/blob/main/packages/eslint-plugin/src/rules/no-duration-frames-infinity.ts and make the new rule removefrom={0}
.