I have a react app where we need to build an online library, I have divided the application into different components 1.the main app component 2.the shelves component and inside it three shelves(three other components):currently,want to,read
I have a project rubric that every book should have a button that makes a drop down list that redirects to each of the shelves and the input of the button should depend on the user input
what I need to know: 1.how to represent books in this app,should I make it as a variable or as a react component? and how to move that book between the three shelves? I have thought about using react router but problem is: the app should have a search bar and a feature to add new books so it still depends on how I represent a 'book' in my application which I still don't know how to do
can someone help me with this two points?
Top comments (0)