I am working on an App for showing some movie infos. I am pretty new to react. My API call is working fine.
in my MovieCard.js component I can access my Title, Release etc.
render() {
const {
Title,
Released,
Genre,
Plot,
Year,
Poster,
imdbRating
} = this.state.movieData;
return <Formular />;
}
}
Now I have another component called Formular. How can I access my data from MovieCard to Formular? I am thankful for any hints!
Thanks.