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

Create lifecycle #30

Open
matuzalemsteles opened this issue Oct 21, 2017 · 0 comments
Open

Create lifecycle #30

matuzalemsteles opened this issue Oct 21, 2017 · 0 comments

Comments

@matuzalemsteles
Copy link
Member

matuzalemsteles commented Oct 21, 2017

Disclaimer

We are moving to stabilize the Fiber, we need to start creating the lifecycle, I think in order to have a better adoption, we can follow the React line or we can change it if everyone agrees.

For the purpose of this library, we have to pick up and evolve our lifecycle for animations.

Please leave your thoughts.

React.js Fiber.js
Mounting constructor constructor
render render
componentWillMount componentWillMount
componentDidMount componentDidMount ⚠️
Updating componentWillReceiveProps componentWillReceiveProps ⚠️
shouldComponentUpdate shouldComponentUpdate ⚠️
componentWillUpdate componentWillUpdate ⚠️
componentDidUpdate componentDidUpdate ⚠️
Unmounting componentWillUnmount componentWillUnmount ⚠️
APIs setState setState ⚠️
forceUpdate forceUpdate ⚠️
Class Properties defaultProps defaultProps ⚠️
displayName displayName ⚠️
Instance Properties props props
state state
Animations 🤔
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