In a class component of react, i am getting one endpoint in props. i need to fetch that endpoint to get exact end points that will be used in links of that component.
I am preferring to save the response in class variables not in state of component. because this data does not impact rendering and user interface.
I want first end point response ready as soon as possible. As per react the best option to call http in ComponentDidMount.
But if i will call this first endpoint in constructor in async way, so this class component will be ready with data earlier and it does not block react rendering. Is it good thing to do? will it have any side effects?