We will use the class component as we want to manage different categories in this component, and when users click on any category that should be passed down as props to the NewsList component. So let's go one by one through all the components 1. NewsDetail: It will display detailed news from the list when the user clicks on any news. NewsList: It will display a list of all news from the specified category.ģ.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |