Skip to content

build(package.json): Upgrade react-bootstrap to fix React deprecated lifecycle method warnings#3249

Merged
tlabaj merged 2 commits into
patternfly:masterfrom
mturley:3010-fix-lifecycle-warnings
Nov 5, 2019
Merged

build(package.json): Upgrade react-bootstrap to fix React deprecated lifecycle method warnings#3249
tlabaj merged 2 commits into
patternfly:masterfrom
mturley:3010-fix-lifecycle-warnings

Conversation

@mturley

@mturley mturley commented Oct 30, 2019

Copy link
Copy Markdown
Contributor

What:

Fixes #3010
In order to prevent React's warnings about deprecated lifecycle methods, and allow consumers who use Patternfly 3 components to eventually upgrade to React 17, I am upgrading our version of react-bootstrap to take their fixes for react-bootstrap/react-bootstrap#4398.

Additional issues:

Once released, this will unblock ManageIQ/manageiq-v2v#1037.

We should do a once-over to make sure all affected PF3 components are still behaving as expected, especially since some of the snapshots changed.

@mturley mturley added the PF3 label Oct 30, 2019
@mturley mturley changed the title build(package.json): Upgrade react-bootstrap to fix React lifecycle methods build(package.json): Upgrade react-bootstrap to fix React lifecycle method warnings Oct 30, 2019
@mturley mturley changed the title build(package.json): Upgrade react-bootstrap to fix React lifecycle method warnings build(package.json): Upgrade react-bootstrap to fix React deprecated lifecycle method warnings Oct 30, 2019
@codecov-io

codecov-io commented Oct 30, 2019

Copy link
Copy Markdown

Codecov Report

Merging #3249 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #3249   +/-   ##
=======================================
  Coverage   67.43%   67.43%           
=======================================
  Files         892      892           
  Lines       24869    24869           
  Branches     2140     2140           
=======================================
  Hits        16770    16770           
  Misses       7094     7094           
  Partials     1005     1005
Flag Coverage Δ
#misc 95.45% <ø> (ø) ⬆️
#patternfly3 69.3% <ø> (ø) ⬆️
#patternfly4 64.75% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2c8ea98...e26d4df. Read the comment docs.

@patternfly-build

Copy link
Copy Markdown
Collaborator

PatternFly-React preview: https://patternfly-react-pr-3249.surge.sh

@mturley
mturley force-pushed the 3010-fix-lifecycle-warnings branch from 6d5d402 to 6b36dd8 Compare October 30, 2019 22:43
boaz0
boaz0 previously approved these changes Oct 31, 2019

@boaz0 boaz0 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM 👍

redallen
redallen previously approved these changes Oct 31, 2019

@redallen redallen left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks!

@mturley

mturley commented Nov 4, 2019

Copy link
Copy Markdown
Contributor Author

Looks like this needs fixes to our in-house components, too. Don't merge just yet. #3010 (comment)

@mturley

mturley commented Nov 4, 2019

Copy link
Copy Markdown
Contributor Author

Scratch that last comment, #3098 resolved the issues @martinpovolny identified. This should be good to merge. I'll give it a rebase now.

@mturley
mturley dismissed stale reviews from redallen and boaz0 via e26d4df November 4, 2019 12:48
@mturley
mturley force-pushed the 3010-fix-lifecycle-warnings branch from 6b36dd8 to e26d4df Compare November 4, 2019 12:48
@mturley

mturley commented Nov 4, 2019

Copy link
Copy Markdown
Contributor Author

Rebased. @redallen could you re-approve?

@tlabaj tlabaj left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[PF3] Overlay component from react-bootstrap uses deprecated lifecycle method, causing warnings in React 16.9.x and will break in React 17

7 participants