Hooks

83 bookmarks
Custom sorting
streamich/react-use
streamich/react-use
React Hooks — 👍. Contribute to streamich/react-use development by creating an account on GitHub.
·github.com·
streamich/react-use
How to Memoize with React.useMemo()
How to Memoize with React.useMemo()
How and when to use React.useMemo() hook to improve the performance of React components.
·dmitripavlutin.com·
How to Memoize with React.useMemo()
Исходники React.memo или что такое SimpleMemo
Исходники React.memo или что такое SimpleMemo
Привет, Хабр!В прошлых моих статьях обсуждая useMemo, мы постоянно упоминали React.memo. Поэтому в этой статье я решил глубоко погрузиться в понятие, что из себя...
·habr.com·
Исходники React.memo или что такое SimpleMemo
Чего мне не хватало в функциональных компонентах React.js
Чего мне не хватало в функциональных компонентах React.js
За последние годы о React hooks не писал разве что ленивый. Решился и я.Помню первое впечатление - WOW-эффект. Можно не писать классы. Не нужно описывать тип сос...
·habr.com·
Чего мне не хватало в функциональных компонентах React.js
React: основные подходы к управлению состоянием
React: основные подходы к управлению состоянием
Доброго времени суток, друзья! Предлагаю вашему вниманию простое приложение — список задач. Что в нем особенного, спросите вы. Дело в том, что я попытался реа...
·habr.com·
React: основные подходы к управлению состоянием
useWhyDidYouUpdate React Hook - useHooks
useWhyDidYouUpdate React Hook - useHooks
We bring you easy to understand React Hook code recipes so you can learn how React hooks work and feel more comfortable writing your own.
·usehooks.com·
useWhyDidYouUpdate React Hook - useHooks
A Thoughtful Way To Use React’s useRef() Hook — Smashing Magazine
A Thoughtful Way To Use React’s useRef() Hook — Smashing Magazine
In a React component, useState and useReducer can cause your component to re-render each time there is a call to the update functions. In this article, you will find out how to use the useRef() hook to keep track of variables without causing re-renders, and how to enforce the re-rendering of React Components.
·smashingmagazine.com·
A Thoughtful Way To Use React’s useRef() Hook — Smashing Magazine
Кастомные хуки. Part 1 / Хабр
Кастомные хуки. Part 1 / Хабр
Доброго времени суток, друзья! Представляю вашему вниманию первую десятку пользовательских хуков. Оглавление useMemoCompare useAsync useRequireAuth useRout...
·habr.com·
Кастомные хуки. Part 1 / Хабр
Мифы о useEffect / Хабр
Мифы о useEffect / Хабр
Доброго времени суток, друзья! Представляю вашему вниманию перевод небольшой заметки Kent C. Dodds, в которой он делится своими соображениями относительно пра...
·habr.com·
Мифы о useEffect / Хабр
React Hooks: The Difference Between useMemo and useCallback | Hacker Noon
React Hooks: The Difference Between useMemo and useCallback | Hacker Noon
React library provides us two built-in hooks to optimize the performance of our app: useMemo & useCallback. At first glance, it might look like their usage is quite similar, so it can get confusing about when to use each. To clear that confusion, let’s dig in and understand the actual difference and the correct way to use them both.
·hackernoon.com·
React Hooks: The Difference Between useMemo and useCallback | Hacker Noon
kitsoRik/react-location-query
kitsoRik/react-location-query
Contribute to kitsoRik/react-location-query development by creating an account on GitHub.
·github.com·
kitsoRik/react-location-query
Debouncing с помощью React Hooks: хук для функций
Debouncing с помощью React Hooks: хук для функций
Здравствуйте! Меня зовут Игорь Шамаев, я главный инженер по разработке в команде SmartData. Занимаюсь fullstack-разработкой внутренней аналитической BI-системы.
·habr.com·
Debouncing с помощью React Hooks: хук для функций
beautifulinteractions/beautiful-react-hooks
beautifulinteractions/beautiful-react-hooks
🔥 A collection of beautiful and (hopefully) useful React hooks to speed-up your components and hooks development 🔥 - beautifulinteractions/beautiful-react-hooks
·github.com·
beautifulinteractions/beautiful-react-hooks
Best Practices With React Hooks — Smashing Magazine
Best Practices With React Hooks — Smashing Magazine
This article covers the rules of React Hooks and how to effectively start using them in your projects. Please note that in order to follow this article in detail, you will need to know how to use React Hooks.
·smashingmagazine.com·
Best Practices With React Hooks — Smashing Magazine
How to test custom React hooks
How to test custom React hooks
Get confidence your custom React hooks work properly with solid tests.
·kentcdodds.com·
How to test custom React hooks
beautifulinteractions/beautiful-react-hooks
beautifulinteractions/beautiful-react-hooks
🔥A collection of beautiful and (hopefully) useful React hooks to speed-up your components and hooks development 🔥 - beautifulinteractions/beautiful-react-hooks
·github.com·
beautifulinteractions/beautiful-react-hooks
No, disabling a button is not app logic.
No, disabling a button is not app logic.
A journey through the perils of haphazardly managing state with Boolean flags, to the tranquility of using reducers and state machines.
·dev.to·
No, disabling a button is not app logic.
SWR: React Hooks for Remote Data Fetching
SWR: React Hooks for Remote Data Fetching
SWR is a React Hooks library for remote data fetching. SWR first returns the data from cache (stale), then sends the fetch request (revalidate), and finally comes with the up-to-date data again.
·swr.now.sh·
SWR: React Hooks for Remote Data Fetching
State management using only React Hooks
State management using only React Hooks
Managing shared state in larger React apps used to require third-party libraries like Redux or MobX. Now all you need is the Hooks API.
·blog.logrocket.com·
State management using only React Hooks
andywer/use-inline-memo
andywer/use-inline-memo
⚛️ React hook for memoizing values inline anywhere in a component - andywer/use-inline-memo
·github.com·
andywer/use-inline-memo
Революция или боль? Доклад Яндекса о React Hooks
Революция или боль? Доклад Яндекса о React Hooks
Меня зовут Артём Березин, я разработчик нескольких внутренних сервисов Яндекса. Последние полгода я активно работал с React Hooks. По ходу дела возникали некотор...
·habr.com·
Революция или боль? Доклад Яндекса о React Hooks
Создание React-ивного хука usePosition() для получения и отслеживания координат браузера
Создание React-ивного хука usePosition() для получения и отслеживания координат браузера
Если вкратце В этой статье мы создадим React-ивный хук usePosition() для отслеживания геолокации браузера. Под капотом этот хук будет использовать методы getCur...
·habr.com·
Создание React-ивного хука usePosition() для получения и отслеживания координат браузера