# React Level Up > Interactive React development magazine by Ekaterina Skrynnik: 28 articles with live examples on best practices, common mistakes and custom hooks. Free to read, no account needed. Each article explains one React topic with short code samples and interactive examples. The articles are grouped into sections. Every article has a Markdown version: append `.md` to its URL (for example, `/posts/component-basics.md`). ## Best Practices - [Component Basics](https://reactlevelup.com/posts/component-basics.md): Understand the essentials of React components! Learn the advantages of Functional components over Class components, strategies for managing component size, and best practices for organizing code for readability and maintainability. - [Component Markup](https://reactlevelup.com/posts/component-markup.md): Enhance your React markup skills! Compare dynamic and static rendering, learn to optimize lists with reusable components, and explore techniques like children props and conditional rendering to improve code structure and maintainability. - [Component Props](https://reactlevelup.com/posts/component-props.md): Learn how to work with React component props! Explore destructuring, default props, and passing objects instead of primitives to create more efficient and readable components. - [Component Mental Models](https://reactlevelup.com/posts/component-mental-models.md): Explore component mental models in React! Compare traditional and modern approaches to structuring code, and learn how to create modular, maintainable applications with containers and presentational components. - [Hooks vs HOCs and Render Props](https://reactlevelup.com/posts/hooks-vs-hoc-and-render-props.md): Compare React patterns for enhancing components: Higher-Order Components (HOCs), Render Props, and Hooks. Learn the drawbacks of HOCs and Render Props, and discover why Hooks are the modern, more efficient solution. - [State Management Using Reducers](https://reactlevelup.com/posts/state-management-using-reducers.md): Discover how `useReducer` simplifies complex state management in React compared to `useState`. Learn through a practical example and see how it can make your code more structured and maintainable. - [Application Structure](https://reactlevelup.com/posts/application-structure.md): Learn how to organize your React application effectively! Explore tips on absolute paths, component directories, external wrappers, and separating logic from UI. - [No useEffect — No bugs](https://reactlevelup.com/posts/no-use-effect-no-bugs.md): Explore the common pitfall of excessive `useEffect` usage in React, especially in input components, where it's not needed. Learn how to avoid bugs and keep your code simpler, cleaner, and more predictable with a better approach. - [Performance](https://reactlevelup.com/posts/perfomance.md): Boost your React app's performance by focusing on what truly matters. Learn to avoid premature optimization, manage bundle size effectively, and tackle unnecessary re-renders using techniques like `useCallback` and `useMemo`. ## Common Mistakes - [Using Prop Drilling](https://reactlevelup.com/posts/using-prop-drilling.md): Explore the concept of prop drilling in React, its challenges, and effective solutions. Learn how to simplify data management with React Context, component restructuring, and state managers, with interactive examples demonstrating the impact on re-renders. - [Ineffective Access to Component Props](https://reactlevelup.com/posts/ineffective-access-to-component-props.md): Learn how to avoid ineffective access to React component props! Discover how passing multiple values inside objects can complicate readability and maintenance, and explore better practices for clearer, more efficient code. - [UI Components Doing Too Much](https://reactlevelup.com/posts/ui-components-doing-too-much.md): Learn why separating business logic from UI components is essential in React development. Discover the benefits of this approach, including better code readability, reusability, and maintainability, with practical tips and code examples. - [Incorrect Usage of useEffect](https://reactlevelup.com/posts/incorrect-usage-of-use-effect.md): Master the correct use of React's `useEffect` hook! Learn about common mistakes, how improper usage can degrade performance, and practical tips for using dependencies, cleaning up effects, and decomposing them for better maintainability. - [Repeated Calculations on Re-Renders](https://reactlevelup.com/posts/repeated-calculations-on-re-renders.md): Learn to optimize React components by avoiding repeated calculations during re-renders. Explore practical techniques like `useMemo` and `useCallback` with interactive examples showcasing the code behind improved performance. - [Incorrect Usage of Logical Operators](https://reactlevelup.com/posts/incorrect-usage-of-logical-operators.md): Learn the best practices for handling logical operators in React components! Explore common pitfalls with the && operator and discover improved methods using boolean values, ternary operators, and component decomposition for better UI logic and maintainability. ## Custom Hooks - [useAsync( )](https://reactlevelup.com/posts/use-async.md): The `useAsync` hook simplifies asynchronous task handling in React components, with an optional immediate execution capability. In this article, you'll find practical code implementations and real-world use cases, demonstrating how the custom hook can be applied in various scenarios. We'll break down the process of creating the hook, explain its key features, and provide a detailed explanation to help you understand its functionality and use. - [useEventListener( )](https://reactlevelup.com/posts/use-event-listener.md): The `useEventListener` hook allows you to register handler events on the target element. In this article, you'll find practical code implementations and real-world use cases, demonstrating how the custom hook can be applied in various scenarios. We'll break down the process of creating the hook, explain its key features, and provide a detailed explanation to help you understand its functionality and use. - [useFetch( )](https://reactlevelup.com/posts/use-fetch.md): The `useFetch` hook simplifies data fetching in React components by managing fetch operations' state, including caching for optimized performance. In this article, you'll find practical code implementations and real-world use cases, demonstrating how the custom hook can be applied in various scenarios. We'll break down the process of creating the hook, explain its key features, and provide a detailed explanation to help you understand its functionality and use. - [useHover( )](https://reactlevelup.com/posts/use-hover.md): The `useHover` hook provides a way to track whether the mouse cursor is hovering over a specific DOM element. In this article, you'll find practical code implementations and real-world use cases, demonstrating how the custom hook can be applied in various scenarios. We'll break down the process of creating the hook, explain its key features, and provide a detailed explanation to help you understand its functionality and use. - [useIntersectionObserver( )](https://reactlevelup.com/posts/use-intersection-observer.md): The `useIntersectionObserver` hook facilitates tracking the visibility of a specified DOM element using the Intersection Observer API. In this article, you'll find practical code implementations and real-world use cases, demonstrating how the custom hook can be applied in various scenarios. We'll break down the process of creating the hook, explain its key features, and provide a detailed explanation to help you understand its functionality and use. - [useKeyPress( )](https://reactlevelup.com/posts/use-key-press.md): The `useKeyPress` hook detects whether a specific keyboard key is currently pressed and optionally executes a callback function when the target key is pressed. In this article, you'll find practical code implementations and real-world use cases, demonstrating how the custom hook can be applied in various scenarios. We'll break down the process of creating the hook, explain its key features, and provide a detailed explanation to help you understand its functionality and use. - [useLatest( )](https://reactlevelup.com/posts/use-latest.md): The `useLatest` hook provides a reliable way to keep a reference to the most recent value, ensuring it updates without causing unnecessary re-renders. In this article, you'll find practical code implementations and real-world use cases, demonstrating how the custom hook can be applied in various scenarios. We'll break down the process of creating the hook, explain its key features, and provide a detailed explanation to help you understand its functionality and use. - [useLocalStorage( )](https://reactlevelup.com/posts/use-local-storage.md): The `useLocalStorage` hook simplifies local storage management in React, facilitating seamless data persistence and synchronization across browser tabs. In this article, you'll find practical code implementations and real-world use cases, demonstrating how the custom hook can be applied in various scenarios. We'll break down the process of creating the hook, explain its key features, and provide a detailed explanation to help you understand its functionality and use. - [useLockBodyScroll( )](https://reactlevelup.com/posts/use-lock-body-scroll.md): The `useLockBodyScroll` hook efficiently prevents page scrolling when specific components are mounted in React applications. In this article, you'll find practical code implementations and real-world use cases, demonstrating how the custom hook can be applied in various scenarios. We'll break down the process of creating the hook, explain its key features, and provide a detailed explanation to help you understand its functionality and use. - [useMatchMedia( )](https://reactlevelup.com/posts/use-match-media.md): The `useMatchMedia` hook facilitates responsive design in React by efficiently managing media queries, allowing for easy customization of device-specific conditions. In this article, you'll find practical code implementations and real-world use cases, demonstrating how the custom hook can be applied in various scenarios. We'll break down the process of creating the hook, explain its key features, and provide a detailed explanation to help you understand its functionality and use. - [useToggle( )](https://reactlevelup.com/posts/use-toggle.md): The `useToggle` hook provides a simple way to toggle boolean values in your application. In this article, you'll find practical code implementations and real-world use cases, demonstrating how the custom hook can be applied in various scenarios. We'll break down the process of creating the hook, explain its key features, and provide a detailed explanation to help you understand its functionality and use. - [useOnClickOutside( )](https://reactlevelup.com/posts/use-on-click-outside.md): The `useOnClickOutside` hook enables detection of clicks occurring outside a designated DOM element within React components. In this article, you'll find practical code implementations and real-world use cases, demonstrating how the custom hook can be applied in various scenarios. We'll break down the process of creating the hook, explain its key features, and provide a detailed explanation to help you understand its functionality and use. - [usePrevious( )](https://reactlevelup.com/posts/use-previous.md): The `usePrevious` hook allows developers to easily track and access the previous value of a state or prop within functional components in React. In this article, you'll find practical code implementations and real-world use cases, demonstrating how the custom hook can be applied in various scenarios. We'll break down the process of creating the hook, explain its key features, and provide a detailed explanation to help you understand its functionality and use. ## Full content - [All articles](https://reactlevelup.com/llms-full.txt): every article in a single Markdown file ## Optional - [Home](https://reactlevelup.com): Interactive React development magazine by Ekaterina Skrynnik: 28 articles with live examples on best practices, common mistakes and custom hooks. Free to read, no account needed. - [Terms of Use](https://reactlevelup.com/terms): permitted use of the content - [Privacy Policy](https://reactlevelup.com/privacy): data stored in the browser, analytics and the waitlist - [Accessibility Statement](https://reactlevelup.com/accessibility): supported features and known limitations - [Sitemap](https://reactlevelup.com/sitemap.xml): all page URLs