To store the data, create a state with the state hook and render it on DOM. This state variable will be assigned the JSON data from your fetch call. You can place relevant checks in the return statement of your component depending on the structure of your JSON before rendering or loading it.
All the information on this website is published in good faith and for general information purpose only. Watson Media does not make any warranties about the completeness, reliability, and accuracy of this information.