Featured Collections

Latest Articles

  • Python's f-strings can do a lot more than you might expect. Learn a few useful tips and tricks in this quick guide.

  • Merging a branch is a pretty common Git operation. Learn how fast-forward mode works and its benefits, so you can decide if it's a good fit for you and your team.

  • Boolean traps can cause readabiltiy and maintainability issues in your code. Learn what they are, how to spot and fix them in this article.

Top Snippets

  • unzipWith

    JavaScript, Array

    Creates an array of elements, ungrouping the elements in an array produced by zip and applying the provided function.

  • formatDuration

    JavaScript, Date

    Returns the human-readable format of the given number of milliseconds.

  • Accordion

    React, Components

    Renders an accordion menu with multiple collapsible content elements.

  • Creates a list with floating headings for each section.

  • Tabs

    React, Components

    Renders a tabbed menu and view component.