Guillermo Rodas
Google Developer Expert in Web Technologies, Community Organizer, and Online Teacher.
@rodasdev
More than a decade of experience
Google Developer Expert in Web Technologies, Auth0 Ambassador, and Twitch Partner.
https://vitae.guillermorodas.com
𝕏 @rodasdev
You can Google me as well.
Consume the official docs.
Search for alternatives and tradeoffs.
Follow experts' blogposts.
Always check the official documentation, it is easy to read and follow and usually explains good and bad practices.
i.e Context:
Always search for “alternatives” and consider tradeoffs. i.e:
this.state and this.setState()
React.useState() with Hooks
before React v16.3
Mounting
Updating
Unmounting
after React v16.4
https://projects.wojtekmaj.pl/react-lifecycle-methods-diagram/
https://projects.wojtekmaj.pl/react-lifecycle-methods-diagram/
after React v16.4
These methods are called when there is an error during rendering, in a lifecycle method, or in the constructor of any child component.
componentDidMount()
componentWillUnmount()
componentWillReceiveProps()
componentDidUpdate()
shouldComponentUpdate()
bit.ly/react-lifecycle-hooks
By Guillermo Rodas
A presentation about how lifecycle works in React and its equivalent in Hooks.
Google Developer Expert in Web Technologies, Community Organizer, and Online Teacher.