arrow_back Data-Visualization: The path to declaratively visualized future using React
Performance Budgets: The what, why and how arrow_forward
Hooking up with React
Submitted by Param Aggarwal (@paramaggarwal) on Friday, 9 November 2018
React v16.7.0-alpha has introduced a new Hooks API that completely changes how we used to think about state management in React. In this talk, you will learn about what Hooks are and when it makes sense to use them. It will better prepare you to really make the best use of what React has to offer.
The talk contains three key sections with three parts in each. We begin by understanding how state management in React has changed and why Hooks exists.
Wasn’t this.setState() doing just fine?
- React’s controversial diffing algorithm in a world of observables
- The community initially rejected React and doubted the performance
- Eventual acceptance by the community and other competing frameworks
Didn’t Flux and Redux solve everything?
- Dispatcher and actions enter the scene
- Dan Abramov brings Redux as a library
- Overuse of Redux provokes Dan to write “When to not use Redux” blog post
So does Hooks solve everything now?
- How to migrate to Hooks
- When to NOT use Hooks
- Where do we go from here
Experience with React and Redux is a positive as it helps understand the drawbacks and benefits of state management as it stands today.
I work as UI Engineer III at Flipkart, Bangalore building cross-platform apps. Before that, I helped build the iOS app and mobile website at Myntra for more than three years. I believe less code is the best code and prefer approaches where less is more.