JAJonatas Artagnaninreactnoobtomaster.hashnode.dev·Oct 1, 2025 · 7 min readSolving Prop Drilling with React Context1. Introduction to State Management in React What is "Prop Drilling"? The concept of prop drilling in React refers to the problem of passing properties from a component very high up in the hierarchy to a component much further down. As the name impli...00
JAJonatas Artagnaninreactnoobtomaster.hashnode.dev·Sep 8, 2025 · 4 min readUsing useLocation to send data between pagesIntroduction UseLocation is a react-router-dom hook that can identify exactly where the user is in the app, based on the URL. It's a tool that can make your app "self-aware." Main use cases: 1 - Toggle visibility of certain components according to th...00
JAJonatas Artagnaninreactnoobtomaster.hashnode.dev·Aug 28, 2025 · 3 min readHow to use useRef React hookIntroduction UseRef is a React hook that works very similarly to the well-known useState. The main difference is that useRef avoids unnecessary component re-rendering. UseRef is used when we need to perform constant updates to a given variable or ele...00
JAJonatas Artagnaninreactnoobtomaster.hashnode.dev·Aug 18, 2025 · 2 min readUnderstand the useMemo hookIntroduction - What is memoization in React Memorization, in a general context, is an optimization technique to improve program speed. Using this technique, we store the results of the function we're optimizing in the browser cache. If we execute the...00
JAJonatas Artagnaninreactnoobtomaster.hashnode.dev·Aug 13, 2025 · 2 min readHow hook useCallback works?What is useCallback in React JS? UseCallback is a native React JS hook that memorizes functions, preventing them from being recreated every time a component is rendered, unless there's a change in the dependency list. Let's explain with simple exampl...00