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 (optionalChains) {
      
      optionalChains.set(result, false);
    }
    return result;
  } else if (node.type === 'OptionalMemberExpression' && !node.computed) {
    const object = analyzePropertyChain(node.object, optionalChains);
    const property = analyzePropertyChain(node.property, null);
    const result = `${object}.${property}`;
    if (optionalChains) {
      
      
      
      if (node.optional) {
        
        if (!optionalChains.has(result)) {
          
          optionalChains.set(result, true);
        }
      } else {
        
        optionalChains.set(result, false);
      }
    }
    return result;
  } else {
    throw new Error(`Unsupported node type: ${node.type}`);
  }
}
function getNodeWithoutReactNamespace(node, options) {