Why React contexts are great, but..

August 31, 2022 By Mark Otto 0

Understanding useMemo and useCallback — Many find these hooks confusing. This tutorial takes a crack at what they do exactly, why they’re useful and how to get the most out of them – and all in Josh’s usual highly accessible and engaging style.

Josh W. Comeau

QUICK BITS:

Find React Jobs with Hired — Create a profile on Hired to connect with hiring managers at growing startups and Fortune 500 companies. It’s free for job-seekers.
Hired

When to Use useLayoutEffect Instead of useEffect — Do you have an annoying flicker in your UI? It may be you’re using the wrong one of these two hooks: it’s all about whether the hook fires before or after the browser paints.

Jakub Kozak

🛠 Code and Tools

⚡️ THE RAPID RELEASES ROUND

React Native Gesture Handler 2.6 – Exposes platform native touch APIs.
re-frame 1.3 – ClojureScript UI framework, leveraging React.
react-xr 5.0 – VR/AR with react-three-fiber.
graphql-react 20.0 – GraphQL client using context and hooks APIs.
Reactist 15.0 – React component suite. (Examples.)
Styled Components 6.0 Beta
MUI 5.10.3