My react component is being showed (and it is complete functional) before going through the render()
method.
The project is using the react-starter-kit
, and a similar route code can be accessed here.
In the picture above I'm calling a bunch of actions and then returning the target component (Question).
Part of the component code is in the following image:
The problem is that the component is available and completely functional before both console.log
be called:
In this case the component is available since the fist action call, but the logs
are shown after everything. I want to add a loader since the beginning. Anyone have any idea about it?