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

feat(preventDuplicates): Changed to list #60

Merged
merged 3 commits into from
Jul 7, 2016

Conversation

RangarajKaushikSundar
Copy link
Collaborator

The prevent duplicates feature works by checking the previously rendered message with the current message and avoids duplicates. There is a test case which will not pass in the following situation - success('hello') --- followed by --> success('bye') --- followed by--> success('hello'). The last "hello" should not render until the previous "hello" has unmounted.

Now, the code maintains a list of messages that are currently being rendered. This makes sure that aforementioned issue doesn't happen.

@RangarajKaushikSundar
Copy link
Collaborator Author

@tomchentw The previous pull request helps us avoid the duplicate messages. Kindly approve this pull request since it completes the functionality.

@tomchentw tomchentw merged commit 3a8f772 into tomchentw:master Jul 7, 2016
@tomchentw
Copy link
Owner

@RangarajKaushikSundar I'd like to invite you to be a collaborator of this project. Are you interested?

@RangarajKaushikSundar
Copy link
Collaborator Author

@tomchentw I would be happy to.

@tomchentw
Copy link
Owner

Released v2.8.0

@tomchentw
Copy link
Owner

@RangarajKaushikSundar invited!

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.

2 participants