Cheton Wu

Results 123 comments of Cheton Wu

Hi @parachvte With React v16.3, you can try using `React.createRef()` rather than `ReactDOM.findDOMNode(node)`: ```jsx node = React.createRef(); componentDidMount() { // your parent element should have a pre-defined width and height...

The difference between 2.2.2 and 2.3.0 is the dependency update of [React Portal](https://github.com/trendmicro-frontend/react-portal) component. In React 16, it will use **ReactDOM.createPortal()** API to wrap the children, not rendering elements to...

I just took a look at your code and found some potential issues. You can see the article https://stackoverflow.com/questions/48323746/order-of-componentdidmount-in-react-components-hierarchy, it describes the order of componentDidMount in React components hierarchy. Let...