Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AppProvider] Remove componentWillReceiveProps #1255

Merged
merged 2 commits into from
Apr 16, 2019

Conversation

AndrewMusgrave
Copy link
Member

WHY are these changes introduced?

Remove deprecated lifecycle methods. This is in preparation for using the new context api.

WHAT is this pull request doing?

Storing context on state, getChildContext will be ran every time state changes and making use of componentDidUpdate.

How to 馃帺

  • storybook has some good examples 馃憤

@BPScott BPScott temporarily deployed to polaris-react-pr-1255 March 27, 2019 15:34 Inactive
@BPScott BPScott temporarily deployed to polaris-react-pr-1255 March 27, 2019 15:36 Inactive
@BPScott BPScott temporarily deployed to polaris-react-pr-1255 March 27, 2019 16:02 Inactive
Copy link
Member

@alex-page alex-page left a comment

Choose a reason for hiding this comment

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

Looks good, I get an error when playing putting data into the search input.

@AndrewMusgrave AndrewMusgrave merged commit bc98fd8 into version-4.0.0 Apr 16, 2019
@AndrewMusgrave AndrewMusgrave deleted the ap-rm-cwrp branch April 16, 2019 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
馃Skip Changelog Causes CI to ignore changelog update check.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants