Drinking coffee and saving the world. Software Engineer and professional geek
recycle your application logic
by Gian Marco Toso - @gianmarcotoso
self employed / polarityb.it
Hooks are functions that can be called within a function component;
They allow to manage operations such as side effects, local state management, memoization and context access
How Does it work?
React provides a certain number of default hooks
These can be composed, along with custom logic, to create custom, reusable hooks that encapsulate any kind of application logic
- Can hooks be used for ... ?
- Are hooks synchronous or asynchronous?
By Gian Marco Toso