I have this function getEvents() that gets called on componentDidMountParent(), and what it does is make a simple API call that returns a data that
getEvents()
componentDidMountParent()