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

Removes deprecated lifecyle method componentWillReceiveProps #51

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jimnanney
Copy link

This pull request removes the componentWillReceiveProps deprecated lifecycle method and moves the computes items into the render method. I stored previous prop values that would trigger recomputing on the class and only recompute if they differ.

Addresses [#50]

@gdonald
Copy link

gdonald commented Oct 9, 2019

Can someone please look at this? Thanks!

@benrhere
Copy link

If this works properly, this looks like it would be a more complete fix than what was in moroshko/react-autosuggest#681 .

Copy link

@punitmirani30 punitmirani30 left a comment

Choose a reason for hiding this comment

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

This fix is more appropriate and justifiable. But seems some conflicts, which need to be resolved.
Also when can we expect this merge ?

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.

5 participants