🎥 Make videos programmatically with React
ask it to premount
Jonny Burger57da0121b290
diff --git a/packages/skills/skills/sequencing/SKILL.md b/packages/skills/skills/sequencing/SKILL.mdindex 1500b8dec1..170a6a6ce9 100644--- a/packages/skills/skills/sequencing/SKILL.md+++ b/packages/skills/skills/sequencing/SKILL.md@@ -10,10 +10,12 @@ Use `<Sequence>` to delay when an element appears in the timeline.```tsximport { Sequence } from "remotion";-<Sequence from={30} durationInFrames={90}>+const {fps} = useVideoConfig();++<Sequence from={1 * fps} durationInFrames={2 * fps} premountFor={1 * fps}><Title /></Sequence>-<Sequence from={60} durationInFrames={60}>+<Sequence from={2 * fps} durationInFrames={2 * fps} preMountFor={1 * fps}><Subtitle /></Sequence>```@@ -27,6 +29,17 @@ If the items should not be wrapped, use the `layout` prop:</Sequence>```+## Premounting++This loads the component in the timeline before it is actually played.+Always premount any `<Sequence>`!++```tsx+<Sequence premountFor={1 * fps}>+ <Title />+</Sequence>+```+## SeriesUse `<Series>` when elements should play one after another without overlap.