Skip to content

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