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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(react-toolkit-form): rollback remove use of componentWillUpdate #619

Merged
merged 1 commit into from
Jun 4, 2020
Merged

refactor(react-toolkit-form): rollback remove use of componentWillUpdate #619

merged 1 commit into from
Jun 4, 2020

Conversation

xballoy
Copy link
Contributor

@xballoy xballoy commented Jun 4, 2020

Rollback #613 because forceDisplayMessage didn't work anymore

I used the UNSAFE version of componentWillReceiveProps instead of removing it.

We need to be able to create a unit test but I don't know how...

Use UNSAFE version of componentWillReceiveProps because in some edge cases it didn't work anymore
@xballoy xballoy changed the title refactor(react-toolkit-form): rollback #613 refactor(react-toolkit-form): rollback remove use of componentWillUpdate Jun 4, 2020
@xballoy
Copy link
Contributor Author

xballoy commented Jun 4, 2020

@guillaumechervetaxa guillaumechervetaxa merged commit 3599fa9 into AxaFrance:master Jun 4, 2020
@xballoy xballoy deleted the feature/rollback613 branch June 4, 2020 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants