Skip to content

@primer/react@38.14.0

Latest

Choose a tag to compare

@primer primer released this 03 Mar 14:05
· 17 commits to main since this release
909e9a8

Minor Changes

  • #7531 0cfb938 Thanks @hectahertz! - SelectPanel: Add built-in client-side list virtualization via a new virtualized prop. When enabled, only the visible items plus a small overscan buffer are rendered in the DOM, dramatically improving performance for large lists.

Patch Changes

  • #7497 931740b Thanks @hectahertz! - Remove render phase setStates on SelectPanel

  • #7532 39a2151 Thanks @hectahertz! - PageLayout: Eliminate forced reflow (~614ms) on mount by replacing getComputedStyle call with a pure JS viewport width check for the --pane-max-width-diff CSS variable.

  • #7555 64c2243 Thanks @hectahertz! - perf(useSlots): short-circuit iteration and skip filled slots

  • #7547 4943d67 Thanks @hectahertz! - perf(useScrollFlash): defer scroll read/write to requestAnimationFrame to avoid forced reflow

  • #7497 931740b Thanks @hectahertz! - Improve SelectPanel performance

  • #7551 2fbfc49 Thanks @hectahertz! - perf(Text): remove unnecessary useRef and useImperativeHandle hooks

  • #7571 59ab235 Thanks @liuliu-dev! - AnchoredOverlay: changed overflow from hidden to auto to prevent content clipping at small viewports.

  • #7553 6225ba2 Thanks @hectahertz! - perf(useRefObjectAsForwardedRef): add dependency array to useImperativeHandle