Skip to content
This repository has been archived by the owner on Sep 10, 2022. It is now read-only.

Fix withPropsOnChange shouldMap consistency #707

Merged
merged 1 commit into from
Jul 23, 2018
Merged

Conversation

motiazu
Copy link
Contributor

@motiazu motiazu commented Jul 23, 2018

In continuation to the discussion in #666.
Saving prevProps returns the HOC to it's original behavior before the lifecycle updates.
Added test case that fails with the current implementation and passes with the fix.

@istarkov
Copy link
Contributor

Thank you! :-)

@istarkov istarkov merged commit 416dd33 into acdlite:master Jul 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants