React Bootstrap v3.0.0-beta.1

v3.0.0-beta.1Pre-release
Changed 4
  • Migrate from classnames to clsx for class name management
  • Update to support React 19 with internal code updates and removal of deprecated methods, requiring React 18+
  • Extract useCol and useAccordionButton hooks to separate files for consistent CJS default exports
  • Offcanvas component will always render inline in the DOM instead of using a portal at the body
Removed 2
  • Remove prop-types runtime validation
  • Remove package.json proxy directories and SSR utilities in favor of exports map

From React Bootstrap

3.0.0-beta.1 (2025-05-24)

  • feat!: migrate to clsx (#6929) (bd80db2), closes #6929
  • feat(Offcanvas)!: change rendering behavior (#6927) (36e824c), closes #6927
  • feat!: remove prop types (#6920) (393dac8), closes #6920
  • feat!: extract hooks from component files (#6915) (8747836), closes #6915
  • feat!: update to react 19 (#6912) (c707a3c), closes #6912
  • feat!: add exports map (#6901) (20c8687), closes #6901
BREAKING CHANGES
  • Switch from classnames to clsx
  • Offcanvas will always be rendered inline in the DOM and not at the body using a portal
  • Remove prop-types
  • Extract the useCol and useAccordionButton from Col.tsx and AccordionButton.tsx so the CJS default export is consistent with other components
  • Support only React 18+. Updates internal code for React 19 and remove deprecated methods.
  • Add package.json exports map and remove proxy directories. Removes SSR utilities.
View original

Upgraded? How did it go?

Discussion