Skip to content
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

Optimization for React 16 #34

Closed
yesmeck opened this issue Oct 13, 2017 · 1 comment
Closed

Optimization for React 16 #34

yesmeck opened this issue Oct 13, 2017 · 1 comment

Comments

@yesmeck
Copy link
Member

yesmeck commented Oct 13, 2017

Since React 16 allows return fragments in component, we can return this.props.children directly if React 16 is detected.

@benjycui benjycui changed the title React 16 support Optimization for React 16 Oct 13, 2017
@benjycui
Copy link
Member

animate/package.json

Lines 50 to 51 in 3cfb4e5

"react": "^16.0.0",
"react-dom": "^16.0.0",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants