Skip to content

fix(deps): update dependency reactstrap to v9#3588

Open
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/reactstrap-9.x
Open

fix(deps): update dependency reactstrap to v9#3588
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/reactstrap-9.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jul 7, 2025

Note: This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
reactstrap ^8.0.0^9.0.0 age confidence

Release Notes

reactstrap/reactstrap (reactstrap)

v9.2.3

Compare Source

Features

9.2.3 (2024-09-26)

Bug Fixes
  • UncontrolledAccordion: prevent setOpen to set undefined value for open (#​2814) (717a5e8)

9.2.2 (2024-01-19)

Bug Fixes
  • dropdown with inNavbar bug (18cc094)

9.2.1 (2023-10-05)

Bug Fixes

9.2.0 (2023-06-09)

Features
  • modal: add 'aria-modal="true"' to modal (2a43591)
Bug Fixes

9.1.10 (2023-05-13)

Bug Fixes

9.1.9 (2023-04-11)

Bug Fixes

9.1.8 (2023-03-29)

Bug Fixes
  • esm and lib folder not included in release (e974d0c)

9.1.7 (2023-03-22)

Bug Fixes

9.1.6 (2023-02-17)

⚠ BREAKING CHANGES
  • add forwardRef to all components that contain innerRef
Features
  • add forwardRef to all components that contain innerRef (17a141a)
Bug Fixes
  • convert functional components to be forwardRef components vs redefining them as such (86578ab)
  • Label: migrate label to rtl (#​2665) (8c5cc2b)
  • revert v10 merge (3392ce9)
Miscellaneous
9.1.5 (2022-10-27)
Bug Fixes
  • accordion: type error of open in uncontrolledAccordionProps (#​2611) (b46a23c)
  • ensure initial overflow status is stored when opening multiple modals (c0191ec)
9.1.4 (2022-08-26)
Bug Fixes
9.1.3 (2022-08-02)
Bug Fixes
  • Use the new nodeRef API for Collapse (9527654)
9.1.2 (2022-07-13)
Bug Fixes
9.1.1 (2022-06-08)
Bug Fixes
  • DropdownMenu: add types to updateOnSelect (e5cd524)

9.1.0 (2022-06-08)

Features
  • CloseButton: add close button (9e656f5)
Bug Fixes
  • #​2411: remove scroll from body when modal open (9d71faa)
  • add a flag to DropdownMenu for Popper update (74a9e4e)
9.0.4 (2022-06-02)
Bug Fixes
Miscellaneous
  • Button: convert button to use hooks (19f85d3)
9.0.3 (2022-05-26)
Bug Fixes
9.0.2 (2022-04-13)
Bug Fixes
  • form-row was removed from Bootsttap 5 (601845d)
  • docs: fixed naming in Accordion module (29beb09)
  • FormGroup: dont pass switch prop to tag #​2415 (b63981e)
9.0.1 (2021-11-12)
Bug Fixes

9.0.0 (2021-10-27)

⚠ BREAKING CHANGES
  • update positionedFix prop to strategy
  • upgrade to popper 2
  • remove CustomInput
  • remove old InputGroupButtonDropdown
  • remove InputGroupAddon
  • remove Jumbotron component (#​2118)
Features
  • accordion: add flush support and stayOpen support (a6050f5)
  • bs5: add accordion (#​2105) (1c09448)
  • bs5: add Offcanvas (9a4bcca)
  • bs5: change .close to .btn-close (#​2116) (be4df60)
  • bs5: change no-gutters class to gx-0 in Row (#​2119) (85b8933)
  • bs5: convert .sr-only to .visually-hidden (702ad55)
  • bs5: Convert Dropdown & DropdownMenu to RTL (7417984)
  • bs5: Rename margin utils (35a37ef)
  • bs5: Replace .btn-block with utility classes (4dc1dcd)
  • bs5: replace form-group class with mb-3 (cbcb2e3)
  • bs5: Support xxl breakpoint (4fb7cdd)
  • bs5: update badge classes (#​2117) (7859900)
  • bs5: Update tooltip/popover arrow classes (9ad870e)
  • carousel: add Bootstrap5 updates (a698814)
  • Carousel: Add dark prop (01f64df)
  • collapse: add horizontal collapse (f780187)
  • Dropdown: Add backwards compatible left & right (f8b415f)
  • DropdownMenu: add-dark-prop (2e22d7b)
  • forms: Add support for floating labels (1cc8a14)
  • ListGroup: Add ListGroupNumbered (02b3b71)
  • modal: add fullscreen option to Modal component (a580f23)
  • Navbar: add container options (f0054bf)
  • Placeholder: add component (0c9294c)
  • remove CustomInput (c0e8a68)
  • remove form-control-file class (f601576)
  • remove InputGroupAddon (322d0ad)
  • remove Jumbotron component (#​2118) (2c912ab)
  • remove old InputGroupButtonDropdown (3df07f6)
  • replace form-control-range with form-range (06868e2)
  • support form switch (f403595)
  • update input group to have type dropdown (6c60226)
  • update positionedFix prop to strategy (65bf0f0)
  • upgrade to popper 2 (35840ef)
  • use form-select class with native select (1e6204b)
Bug Fixes
8.10.1 (2021-10-26)
Bug Fixes
  • UncontrolledDropdown: Fix onToggle - a consistent isOpen value (ee54164)

8.8.1 (2020-12-29)

Bug Fixes
  • Prevent popover/tooltip rendering if target not resolved (#​2059) (de06e9f)

v9.2.2

Compare Source

Features

9.2.3 (2024-09-26)

Bug Fixes
  • UncontrolledAccordion: prevent setOpen to set undefined value for open (#​2814) (717a5e8)

9.2.2 (2024-01-19)

Bug Fixes
  • dropdown with inNavbar bug (18cc094)

9.2.1 (2023-10-05)

Bug Fixes

9.2.0 (2023-06-09)

Features
  • modal: add 'aria-modal="true"' to modal (2a43591)
Bug Fixes

9.1.10 (2023-05-13)

Bug Fixes

9.1.9 (2023-04-11)

Bug Fixes

9.1.8 (2023-03-29)

Bug Fixes
  • esm and lib folder not included in release (e974d0c)

9.1.7 (2023-03-22)

Bug Fixes

9.1.6 (2023-02-17)

⚠ BREAKING CHANGES
  • add forwardRef to all components that contain innerRef
Features
  • add forwardRef to all components that contain innerRef (17a141a)
Bug Fixes
  • convert functional components to be forwardRef components vs redefining them as such (86578ab)
  • Label: migrate label to rtl (#​2665) (8c5cc2b)
  • revert v10 merge (3392ce9)
Miscellaneous
9.1.5 (2022-10-27)
Bug Fixes
  • accordion: type error of open in uncontrolledAccordionProps (#​2611) (b46a23c)
  • ensure initial overflow status is stored when opening multiple modals (c0191ec)
9.1.4 (2022-08-26)
Bug Fixes
9.1.3 (2022-08-02)
Bug Fixes
  • Use the new nodeRef API for Collapse (9527654)
9.1.2 (2022-07-13)
Bug Fixes
9.1.1 (2022-06-08)
Bug Fixes
  • DropdownMenu: add types to updateOnSelect (e5cd524)

9.1.0 (2022-06-08)

Features
  • CloseButton: add close button (9e656f5)
Bug Fixes
  • #​2411: remove scroll from body when modal open (9d71faa)
  • add a flag to DropdownMenu for Popper update (74a9e4e)
9.0.4 (2022-06-02)
Bug Fixes
Miscellaneous
  • Button: convert button to use hooks (19f85d3)
9.0.3 (2022-05-26)
Bug Fixes
9.0.2 (2022-04-13)
Bug Fixes
  • form-row was removed from Bootsttap 5 (601845d)
  • docs: fixed naming in Accordion module (29beb09)
  • FormGroup: dont pass switch prop to tag #​2415 (b63981e)
9.0.1 (2021-11-12)
Bug Fixes

9.0.0 (2021-10-27)

⚠ BREAKING CHANGES
  • update positionedFix prop to strategy
  • upgrade to popper 2
  • remove CustomInput
  • remove old InputGroupButtonDropdown
  • remove InputGroupAddon
  • remove Jumbotron component (#​2118)
Features
  • accordion: add flush support and stayOpen support (a6050f5)
  • bs5: add accordion (#​2105) (1c09448)
  • bs5: add Offcanvas (9a4bcca)
  • bs5: change .close to .btn-close (#​2116) (be4df60)
  • bs5: change no-gutters class to gx-0 in Row (#​2119) (85b8933)
  • bs5: convert .sr-only to .visually-hidden (702ad55)
  • bs5: Convert Dropdown & DropdownMenu to RTL (7417984)
  • bs5: Rename margin utils (35a37ef)
  • bs5: Replace .btn-block with utility classes (4dc1dcd)
  • bs5: replace form-group class with mb-3 (cbcb2e3)
  • bs5: Support xxl breakpoint (4fb7cdd)
  • bs5: update badge classes (#​2117) (7859900)
  • bs5: Update tooltip/popover arrow classes (9ad870e)
  • carousel: add Bootstrap5 updates (a698814)
  • Carousel: Add dark prop (01f64df)
  • collapse: add horizontal collapse (f780187)
  • Dropdown: Add backwards compatible left & right (f8b415f)
  • DropdownMenu: add-dark-prop (2e22d7b)
  • forms: Add support for floating labels (1cc8a14)
  • ListGroup: Add ListGroupNumbered (02b3b71)
  • modal: add fullscreen option to Modal component (a580f23)
  • Navbar: add container options (f0054bf)
  • Placeholder: add component (0c9294c)
  • remove CustomInput (c0e8a68)
  • remove form-control-file class (f601576)
  • remove InputGroupAddon (322d0ad)
  • remove Jumbotron component (#​2118) (2c912ab)
  • remove old InputGroupButtonDropdown (3df07f6)
  • replace form-control-range with form-range (06868e2)
  • support form switch (f403595)
  • update input group to have type dropdown (6c60226)
  • update positionedFix prop to strategy (65bf0f0)
  • upgrade to popper 2 (35840ef)
  • use form-select class with native select (1e6204b)
Bug Fixes
8.10.1 (2021-10-26)
Bug Fixes
  • UncontrolledDropdown: Fix onToggle - a consistent isOpen value (ee54164)

8.8.1 (2020-12-29)

Bug Fixes
  • Prevent popover/tooltip rendering if target not resolved (#​2059) (de06e9f)

v9.2.1

Compare Source

Features

9.2.3 (2024-09-26)

Bug Fixes
  • UncontrolledAccordion: prevent setOpen to set undefined value for open (#​2814) (717a5e8)

9.2.2 (2024-01-19)

Bug Fixes
  • dropdown with inNavbar bug (18cc094)

9.2.1 (2023-10-05)

Bug Fixes

9.2.0 (2023-06-09)

Features
  • modal: add 'aria-modal="true"' to modal (2a43591)
Bug Fixes

9.1.10 (2023-05-13)

Bug Fixes

9.1.9 (2023-04-11)

Bug Fixes

9.1.8 (2023-03-29)

Bug Fixes
  • esm and lib folder not included in release (e974d0c)

9.1.7 (2023-03-22)

Bug Fixes

9.1.6 (2023-02-17)

⚠ BREAKING CHANGES
  • add forwardRef to all components that contain innerRef
Features
  • add forwardRef to all components that contain innerRef (17a141a)
Bug Fixes
  • convert functional components to be forwardRef components vs redefining them as such (86578ab)
  • Label: migrate label to rtl (#​2665) (8c5cc2b)
  • revert v10 merge (3392ce9)
Miscellaneous
9.1.5 (2022-10-27)
Bug Fixes
  • accordion: type error of open in uncontrolledAccordionProps (#​2611) (b46a23c)
  • ensure initial overflow status is stored when opening multiple modals (c0191ec)
9.1.4 (2022-08-26)
Bug Fixes
9.1.3 (2022-08-02)
Bug Fixes
  • Use the new nodeRef API for Collapse (9527654)
9.1.2 (2022-07-13)
Bug Fixes
9.1.1 (2022-06-08)
Bug Fixes
  • DropdownMenu: add types to updateOnSelect (e5cd524)

9.1.0 (2022-06-08)

Features
  • CloseButton: add close button (9e656f5)
Bug Fixes
  • #​2411: remove scroll from body when modal open (9d71faa)
  • add a flag to DropdownMenu for Popper update (74a9e4e)
9.0.4 (2022-06-02)
Bug Fixes
Miscellaneous
  • Button: convert button to use hooks (19f85d3)
9.0.3 (2022-05-26)
Bug Fixes
9.0.2 (2022-04-13)
Bug Fixes
  • form-row was removed from Bootsttap 5 (601845d)
  • docs: fixed naming in Accordion module (29beb09)
  • FormGroup: dont pass switch prop to tag #​2415 (b63981e)
9.0.1 (2021-11-12)
Bug Fixes

9.0.0 (2021-10-27)

⚠ BREAKING CHANGES
  • update positionedFix prop to strategy
  • upgrade to popper 2
  • remove CustomInput
  • remove old InputGroupButtonDropdown
  • remove InputGroupAddon
  • remove Jumbotron component (#​2118)
Features

Configuration

📅 Schedule: Branch creation - "every weekend" in timezone US/Eastern, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/reactstrap-9.x branch from b100405 to 0046eb0 Compare July 7, 2025 11:15
@Anas12091101 Anas12091101 self-assigned this Jul 7, 2025
@renovate renovate bot force-pushed the renovate/reactstrap-9.x branch from 0046eb0 to d7bb282 Compare July 8, 2025 08:44
@Anas12091101 Anas12091101 removed their assignment Jul 9, 2025
@renovate renovate bot force-pushed the renovate/reactstrap-9.x branch 2 times, most recently from e88d1a1 to 0ef8619 Compare July 9, 2025 13:25
@Anas12091101 Anas12091101 self-assigned this Jul 9, 2025
@renovate renovate bot force-pushed the renovate/reactstrap-9.x branch 2 times, most recently from 1f349fd to 5a45533 Compare July 9, 2025 15:07
@Anas12091101 Anas12091101 removed their assignment Jul 11, 2025
@Anas12091101
Copy link
Contributor

Reactstrap v9 depends on Bootstrap v5 (reference). Since this upgrade impacts a large number of files across the codebase, the testing scope is quite extensive. We'll put this PR on hold for now and revisit it at a later time.

@renovate renovate bot force-pushed the renovate/reactstrap-9.x branch 11 times, most recently from 059a2ab to 05cb9d4 Compare July 21, 2025 13:01
@renovate renovate bot force-pushed the renovate/reactstrap-9.x branch 7 times, most recently from 4b1352a to 5f6ac68 Compare July 25, 2025 12:46
@renovate renovate bot force-pushed the renovate/reactstrap-9.x branch 9 times, most recently from 2da0caa to 88b5281 Compare August 25, 2025 11:57
@renovate renovate bot force-pushed the renovate/reactstrap-9.x branch 3 times, most recently from 49da65b to 97ca62d Compare August 27, 2025 14:07
@renovate renovate bot force-pushed the renovate/reactstrap-9.x branch 4 times, most recently from c16dc28 to fd00296 Compare September 8, 2025 13:53
@renovate renovate bot force-pushed the renovate/reactstrap-9.x branch 3 times, most recently from d5a5bf6 to b0950ad Compare September 15, 2025 08:24
"react-select": "^5.0.0",
"react-test-renderer": "^16.8.4",
"reactstrap": "^8.0.0",
"reactstrap": "^9.0.0",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: The upgrade to reactstrap v9 requires Bootstrap 5, but the project still uses Bootstrap 4. This will cause reactstrap components to render incorrectly.
Severity: HIGH

Suggested Fix

To resolve the incompatibility, either upgrade Bootstrap to version 5 in package.json to match the reactstrap v9 requirement, or revert the reactstrap upgrade to a version compatible with Bootstrap 4.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.

Location: package.json#L96

Potential issue: The pull request upgrades `reactstrap` to version 9, which is designed
to work with Bootstrap 5. However, the project's `package.json` still specifies
Bootstrap `^4.4.1`. This version mismatch will cause `reactstrap` components used in the
application, such as `Modal`, `Collapse`, `Button`, and `Alert`, to render incorrectly
because they will generate HTML expecting Bootstrap 5 classes and structure, while only
Bootstrap 4 CSS is loaded.

"react-select": "^5.0.0",
"react-test-renderer": "^16.8.4",
"reactstrap": "^8.0.0",
"reactstrap": "^9.0.0",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: The upgrade of reactstrap to v9 is incompatible with the project's existing Bootstrap v4 dependency, which will cause UI components to render incorrectly.
Severity: CRITICAL

Suggested Fix

To resolve this incompatibility, either upgrade the project's bootstrap dependency to version 5 to match the new reactstrap version, or revert the reactstrap upgrade back to version 8.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.

Location: package.json#L96

Potential issue: The pull request upgrades `reactstrap` from version 8 to 9. However,
`reactstrap` v9 is designed to work with Bootstrap 5, while the project continues to use
Bootstrap 4. This version mismatch will cause `reactstrap` components such as `Modal`,
`Collapse`, `Button`, and `Alert` to be rendered with incorrect styling and potentially
broken functionality. Since modals are used in the critical checkout flow, this could
impact payment functionality.

"react-select": "^5.0.0",
"react-test-renderer": "^16.8.4",
"reactstrap": "^8.0.0",
"reactstrap": "^9.0.0",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Upgrading reactstrap to v9 introduces an incompatibility, as it's designed for Bootstrap 5, but the project still uses Bootstrap 4 CSS, causing styling issues.
Severity: MEDIUM

Suggested Fix

To resolve the incompatibility, either upgrade the bootstrap package to version 5 to match reactstrap v9, or downgrade reactstrap to a version compatible with Bootstrap 4 (e.g., v8). Given the potential for widespread styling changes, downgrading reactstrap might be the safer short-term option.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.

Location: package.json#L96

Potential issue: The upgrade of `reactstrap` to version 9.0.0 is intended for use with
Bootstrap 5. However, the project's dependency remains `bootstrap: ^4.4.1`. This version
mismatch will cause styling and presentation issues for `Modal` components. While the
modal's functionality (`isOpen`, `toggle`) will not break at runtime, its HTML structure
will expect Bootstrap 5 classes, which are not provided by the project's Bootstrap 4
CSS. This will result in incorrectly styled or broken-looking modals in components like
`ConfirmUpdateModal` and `CheckoutForm`.

"react-select": "^5.0.0",
"react-test-renderer": "^16.8.4",
"reactstrap": "^8.0.0",
"reactstrap": "^9.0.0",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Upgrading reactstrap to v9 is incompatible with the project's existing Bootstrap v4 dependency. This will cause UI components like modals and buttons to break or render incorrectly.
Severity: CRITICAL

Suggested Fix

To resolve this incompatibility, either upgrade the project's bootstrap dependency to v5 to match reactstrap v9, or revert the reactstrap upgrade and remain on a version compatible with Bootstrap 4, such as v8.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.

Location: package.json#L96

Potential issue: The project upgrades `reactstrap` to v9 but continues to use Bootstrap
4.4.1. Reactstrap v9 is designed exclusively for Bootstrap 5 and uses CSS classes and
component structures that are not present in Bootstrap 4. This mismatch will cause UI
components managed by `reactstrap`, such as `Modal`, `Button`, and `Collapse`, to render
with incorrect or missing styles, leading to broken functionality. For example, modals
may not toggle, and buttons may not respond correctly. The codebase uses Bootstrap 4
classes like `no-gutters`, which are deprecated in Bootstrap 5, confirming the version
mismatch.

"react-test-renderer": "^16.8.4",
"reactstrap": "^8.0.0",
"reactstrap": "^9.0.0",
"redux": "^3.7.2",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Upgrading reactstrap to v9 without upgrading bootstrap from v4 to v5 will cause widespread styling breakages due to incompatible CSS class names.
Severity: HIGH

Suggested Fix

Either downgrade reactstrap to a version compatible with Bootstrap 4, or upgrade the bootstrap dependency to v5 and migrate all usages of deprecated Bootstrap 4 CSS classes (e.g., no-gutters to g-0) throughout the codebase.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.

Location: package.json#L97

Potential issue: The `reactstrap` dependency is upgraded to v9, which is designed for
Bootstrap 5, but the project's `bootstrap` dependency remains at v4.4.1. This version
mismatch will cause runtime styling issues because `reactstrap` v9 components generate
markup expecting Bootstrap 5 classes. The application's CSS, however, is from Bootstrap
4. The codebase extensively uses Bootstrap 4 classes like `no-gutters` and `form-group`,
which were removed or renamed in Bootstrap 5. This will lead to broken layouts and forms
throughout the application.

"react-select": "^5.0.0",
"react-test-renderer": "^16.8.4",
"reactstrap": "^8.0.0",
"reactstrap": "^9.0.0",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: The update to reactstrap v9 is incompatible with the project's bootstrap v4 dependency, which will cause widespread UI styling and layout issues.
Severity: CRITICAL

Suggested Fix

To fix this incompatibility, either downgrade reactstrap to version 8, which is compatible with Bootstrap 4, or upgrade the bootstrap dependency to version 5 and address any associated breaking changes.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.

Location: package.json#L96

Potential issue: The project has been updated to use `reactstrap` version 9, but the
`bootstrap` dependency remains at version 4.4.1. According to the `reactstrap`
documentation, version 9 is designed to work exclusively with Bootstrap 5. This version
mismatch will cause styling and layout failures for all `reactstrap` components used in
the application, such as `Modal`, `Alert`, and `Button`, because `reactstrap` v9
generates CSS class names and HTML structures expected by Bootstrap 5, which are not
present in Bootstrap 4.

"react-select": "^5.0.0",
"react-test-renderer": "^16.8.4",
"reactstrap": "^8.0.0",
"reactstrap": "^9.0.0",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: The reactstrap dependency is upgraded to v9, which is for Bootstrap 5, but the project still uses Bootstrap 4. This version mismatch may cause rendering or functional issues.
Severity: MEDIUM

Suggested Fix

To resolve the incompatibility, either upgrade the bootstrap dependency to a compatible v5 release to match reactstrap v9, or revert the reactstrap upgrade to a v8 release that is compatible with Bootstrap 4.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.

Location: package.json#L96

Potential issue: The pull request upgrades `reactstrap` from version 8 to 9. According
to official documentation, `reactstrap` v9 is designed to work with Bootstrap 5, but the
project's `package.json` continues to specify Bootstrap `^4.4.1`. While the project
still imports Bootstrap 4 CSS, preventing immediate breakage of classes like
`no-gutters`, the internal JSX structure and class names used by `reactstrap` v9
components assume a Bootstrap 5 environment. This version mismatch can lead to subtle
and unpredictable styling defects or functional issues in components that rely on
`reactstrap`, as they may not render correctly with the older Bootstrap 4 styles.

"react-select": "^5.0.0",
"react-test-renderer": "^16.8.4",
"reactstrap": "^8.0.0",
"reactstrap": "^9.0.0",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Upgrading reactstrap to v9 creates a dependency conflict with the project's existing Bootstrap 4 setup, leading to JavaScript errors and incorrect styling due to version mismatches.
Severity: CRITICAL

Suggested Fix

To resolve the incompatibility, either upgrade the entire project to Bootstrap 5 to match reactstrap v9, which involves updating the bootstrap dependency and replacing popper.js with @popperjs/core. Alternatively, revert the reactstrap upgrade and remain on a version compatible with Bootstrap 4, such as reactstrap v8.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.

Location: package.json#L96

Potential issue: The upgrade to `reactstrap` v9, which is designed for Bootstrap 5,
creates a critical conflict with the project's explicit dependency on Bootstrap 4.4.1.
This incompatibility manifests in two ways. First, `reactstrap` v9 requires
`@popperjs/core` v2, while Bootstrap 4 requires `popper.js` v1. Loading both versions
simultaneously will cause a global namespace collision for the `Popper` object, breaking
either native Bootstrap components like dropdowns or `reactstrap` components. Second,
`reactstrap` v9 renders components using Bootstrap 5's CSS class names and structure,
which are incompatible with the project's Bootstrap 4 stylesheet, leading to broken
layouts and styling.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant