I’d love to know how!
Myles Orme
171

Pass () => this.fireOnSelect() as second argument to `setState`. setState will invoke the optional callback provided when the state has been updated.

Like what you read? Give Michel Weststrate a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.