But when the component is rendered for the first time "render" is called, but "componentDidMount" doesn't get executed. On the second render everything works fine and component actually renders and componentDidMount is fired. Is here anything I can help?
I'm having a very awkward issue at the moment: my render() function returns a portal:
But when the component is rendered for the first time "render" is called, but "componentDidMount" doesn't get executed. On the second render everything works fine and component actually renders and componentDidMount is fired. Is here anything I can help?