Closed josiahsrc closed 1 year ago
We've seen some issues on our project indicating that this repo has duplicate React declarations. For instance, we're seeing this error:
React
[commonjs--resolver] Identifier 'React' has already been declared (2:10) in /usr/src/app/node_modules/react-resize-detector/build/index.esm.js file: /usr/src/app/node_modules/react-resize-detector/build/index.esm.js:2:10 1: import*as React from'react';import {cloneElement,isValidElement,createRef,PureComponent,Component,forwardRef,useRef,useState,useEffect,useLayoutEffect}from'react';import {findDOMNode}from'react-dom';/****************************************************************************** 2: Copyright (c) Microsoft Corporation.
I confirmed that these changes fix the above error and still functions as intended.
I'm running into the same issue, any chance we could get this merged?
@maslianok Please take a look when you have time
@josiahsrc Thank you! merged
We've seen some issues on our project indicating that this repo has duplicate
React
declarations. For instance, we're seeing this error:I confirmed that these changes fix the above error and still functions as intended.