React Blog Posts

Tutorials and guides on React.

  1. React, Iframes, and a Back-Navigation Bug

    If an iframe re-renders in React, it can interfere with back navigation in your browser. You can fix this by unmounting the iframe.

  2. Dynamic Tag Name Props in React (with TypeScript)

    Sometimes, a React component needs to allow users to render a custom tag. Here's how you can pass dynamic tag names as props.

  3. What Are Higher-Order Components in React?

    Higher-order components are one of React's most popular design patterns, allowing you to define reusable stateful logic and create powerful, flexible components.

  4. How to Sort Ant Design Tables in React (the Easy Way)

    The Ant Design UI library lets you sort tables by one or more columns, using a sorter prop. But the syntax can get quite repetitive. Let's fix that!