title: React Native error - "animated node with tag does not exist?"
body: <p>I'm having a pretty nebulous error occurring when I change <code>useNativeDriver</code> from false to true in my React Native expo app. From something like this:</p>
  <pre><code>if (headerMenu._value &gt; moderateScale(120)) {
        Animated.spring(headerMenu, {
          toValue: moderateScale(80), 
          bounciness: 0.5,
          useNativeDriver: false, //change to true
          speed: 0.2
        }).start(toggleHeaderMenu(false));
  </code></pre>
  <p>Where headerMenu is the height of a view:</p>
  <pre><code>  &lt;Animated.View
        style={
          (styles.topBar,
          [
            {
              height: headerMenu,
              overflow: &quot;hidden&quot;,
              paddingVertical: 5,
            },
          ])
        }
      &gt;
  </code></pre>
  <p>I get error</p>
  <blockquote>
  <p>Animated node with tag does not exist</p>
  </blockquote>
  <p><a href="https://i.stack.imgur.com/8aeLI.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8aeLI.jpg" alt="enter image description here" /></a></p>
  <p>Most answers are not helpful / don't give a clear reason why this is happening. This doesn't occur with other Animations. How can I fix this?</p>