Example:

```js
        function Example(props) {
          useEffect(() => {
            let topHeight = 0;
            topHeight = props.upperViewHeight;
          }, [props.upperViewHeight]);
        }
```

This is **not** supposed to violate because `props.upperViewHeight` is in the deps.
if (!currentScope) {
          return;
        }
        componentScope = currentScope;
      }
      
      
      
      
      
      
      
      
      
      
      function isStableKnownHookValue(resolved) {
        if (!Array.isArray(resolved.defs)) {
          return false;
        }
        const def = resolved.defs[0];
        if (def == null) {
          return false;
        }
        
        if (def.node.type !== 'VariableDeclarator') {
          return false;
        }