Skip to content

🎥 Make videos programmatically with React

docs: document v5 measureSpring from/to removal (#9974)

Santhi Prakashaa6d657d6045
diff --git a/packages/docs/docs/measure-spring.mdx b/packages/docs/docs/measure-spring.mdx
index 39ea9d8dc8..11e1e51e31 100644
--- a/packages/docs/docs/measure-spring.mdx
+++ b/packages/docs/docs/measure-spring.mdx
@@ -46,11 +46,19 @@ Lower values mean the spring duration is longer, higher values result in the spr
The spring configuration that you pass to [spring()](/docs/spring#config).
-### `from?`
+### ~~`from?`~~
+
+:::info Deprecated
+Will be removed in [Remotion 5.0](/docs/5-0-migration#measurespring-does-not-accept-from-and-to-options-anymore) because this param does not influence the duration calculation.
+:::
The initial value of the animation. Default: `0`.
-### `to?`
+### ~~`to?`~~
+
+:::info Deprecated
+Will be removed in [Remotion 5.0](/docs/5-0-migration#measurespring-does-not-accept-from-and-to-options-anymore) because this param does not influence the duration calculation.
+:::
The end value of the animation. Default: `1`. Note that depending on the parameters, spring animations may overshoot the target a bit, before they bounce back to their final target.