DocumentationπŸŽ₯ Remotionβš›οΈ React Context

React Context

The kit comes with a handy React context for your editor. You can find it in the src/Editor/Context.ts file. It provides the following context:

  • project - The project data.
  • props - The input props for the composition.
  • renderPct - The progress of the render.
  • exportVideo - The function to export the video.

You can extend this context as per your requirements.

Export

The exportVideo function is used to export the video. The context has functionality to keep polling for progress of the render and update that in rederPct prop.


MIT 2025 Β© Nextra.