Skip to content

Conversation

@ganoch
Copy link

@ganoch ganoch commented Aug 15, 2018

setNewState causes multiple setState which in turn causes multiple renders
changed _applyAlertStyleSheet and _changeOffsetByPosition function accordingly, pass state object around and have setState called once at the end.

when rendering if this.state.titleColor is not set not set color

setNewState causes multiple setState which in turn causes multiple renders
changed _applyAlertStyleSheet and _changeOffsetByPosition function accordingly, pass state object around and have setState called once at the end.

when rendering if this.state.titleColor is not set not set color
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