-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem work with Preact #1839
Comments
preact 在 componentWillReceiveProps(nextProps) {
const curProps = this.props;
this.setState((state, props) => {
console.log(props === nextProps); // in react.js, it's true.
console.log(props === curProps); // in preact.js, it's true.
});
} |
|
warmhug
added a commit
to react-component/m-trigger
that referenced
this issue
Oct 18, 2017
warmhug
added a commit
to react-component/m-pull-to-refresh
that referenced
this issue
Oct 19, 2017
|
@zhang740 把 preactjs/preact-compat#450 关联的 issue 添加过来 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Won't fix
Fixed
The text was updated successfully, but these errors were encountered: