Answer the question
In order to leave comments, you need to log in
How to render multiple components in React using JSON?
Let's say we have JSON
const data = api_url.json();
And for example:
function BlaBla() {
return(
)
}
Answer the question
In order to leave comments, you need to log in
Learn React. Pay special attention to componentDidMount and useEffect. And also html, because rendering multiple h1 tags is bad manners.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question