coatue-oss/ngcomponent

shouldComponentUpdate does not work as expected

Closed this issue · 0 comments

Expected: It should be called with (nextProps, nextState), and inside the method this.props and this.state should refer to the current props and state.

Actual: It is called with (nextProps, nextProps), and inside the method this.props refers to the same nextProps.