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

Fix infinite render() when Toast.show() in componentDidMount() #76

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

Conversation

mswokk
Copy link

@mswokk mswokk commented Jun 30, 2018

This is BREAKING change because Toast.show() returns Promise<>.
Please check this commit is best way.

I tried to show Toast in componentDidMount() but appending sibling makes infinite render() call.
To escape this situation, I tried to show Toast in another context and it worked.
Please check this.

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.

1 participant