Telerik blogs
  • Web React

    The React useSyncExternalStore Hook

    The useSyncExternalStore hook in React is designed to handle subscriptions to external data stores within React components. useSyncExternalStore is especially useful when integrating third-party libraries or APIs that maintain their own state outside of React.
    July 30, 2024 4 min read
  • Web React

    The React useId Hook

    The React useId Hook offers a robust solution for managing unique identifiers within components. Explore its functionality, use cases and benefits, particularly how it enhances accessibility and simplifies the creation of consistent, maintainable applications.
    July 09, 2024 5 min read
  • Web React

    The React useDebugValue Hook

    The React useDebugValue hook offers a way to display custom debugging information for custom hooks within React DevTools. Learn how to use it.
    July 02, 2024 4 min read
  • Web React

    useLayoutEffect vs. useEffect in React

    The useLayoutEffect and useEffect hooks in React share similarities in function but differ when it comes to execution timing. In this article, we’ll delve into this main differences, providing insights into when and why to use each hook effectively.
    June 18, 2024 5 min read
  • Web React

    The React useState Hook

    React Hooks have transformed the way we build and manage state in functional components. By extracting logic from a component, they enable us to write clearer, more intuitive code. In this article, we’ll discuss the most fundamental hook of React—useState.
    May 21, 2024 5 min read