🎥 Make videos programmatically with React
Update composition.md
Jonny Burger81fae949093f
diff --git a/packages/docs/docs/composition.md b/packages/docs/docs/composition.mdindex 9a133edba6..5517b844ff 100644--- a/packages/docs/docs/composition.md+++ b/packages/docs/docs/composition.md@@ -81,6 +81,10 @@ Type your components using the `React.FC<{}>` type and the `defaultProps` prop wPassing huge objects to `defaultProps` can be slow. [Learn how to avoid it.](/docs/troubleshooting/defaultprops-too-big):::+:::note+Use a `type`, not an `interface` to type your `defaultProps`. [Learn why](/docs/4-0-migration#cannot-use-an-interface-for-props)+:::+### `calculateMetadata`See: [`calculateMetadata()`](/docs/calculate-metadata)