score:2

Accepted answer

consider move the second call to get a detail article to the articledetails component componentdidmount() life cycle method.

so if the article is not set, do not render the articledetails component at all by return null / false.


Related Query

More Query from same tag