Skip to content
This repository has been archived by the owner on Mar 27, 2021. It is now read-only.

Replace use of deprecated componentWillReceiveProps #413

Merged
merged 3 commits into from
Aug 21, 2019
Merged

Conversation

cweiss-stripe
Copy link
Contributor

@cweiss-stripe cweiss-stripe commented Aug 21, 2019

Summary & motivation

This PR replaces usage of the deprecated componentWillReceiveProps method with componentDidUpdate to ensure React 16.9 compatibility.

It is a rebased version of #255 from @rynobax (thank you!).

I plan on releasing a new major version after this is merged.

Testing & documentation

Covered by existing tests and tested manually.

@dweedon-stripe
Copy link
Collaborator

lgtm

@cweiss-stripe cweiss-stripe merged commit 3687b9f into master Aug 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants