Skip to content

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

Open
mswokk wants to merge 1 commit intomagicismight:masterfrom
YBRAIN:master
Open

Fix infinite render() when Toast.show() in componentDidMount()#76
mswokk wants to merge 1 commit intomagicismight:masterfrom
YBRAIN:master

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

Comments