React Hooks – useCallback hook example with React.memo higher-order component
UseCallback, same as useMemo hook, is useful in situation, when you want to improve performance of your app. Thanks to...
Learn to build fast, reusable UI components with React
UseCallback, same as useMemo hook, is useful in situation, when you want to improve performance of your app. Thanks to...
UseMemo hook returns memoized value. That’s why you can use it to optimize performance of your app. If you have...
UseRef hook can be used in two ways. First, it allows to directly access to DOM element, so we can...
UseEffect hook runs after first render and after every other completed render (but we can change that, so it can...
UseContext hook provides a way to pass data through the component tree without having to pass props down manually at...
UseReducer is an alternative to useState. It works better when you have complex state logic that involves multiple sub-values (e.g....
Hooks are a new functionality of React, thanks to which we can “hook into” React features, which makes writing applications...