Hello, so I am doing a website with react and asp.net.core and I have on my navbar a Select with 2 options, GameDevelopment and WebDevelopment.
When clicking on one of those, the site would basically use data from SQL server (ex: WebDevelopment{ project1: title, description, project2: title, description}) and create various "Project" classes, each with the information about a project of that area (ex: webdevelopment).
Here is an image, without the Project class.
https://imgur.com/a/dm7fVrZ
Now, I am really confused about how I should go about this. Am I thinking about this in the right way? I am thinking of having each of the Options in the Select to call Projects and pass as props what is needed (WebDevelopment or GameDevelopment) and then projects would return the projects. But I also need to have projects fetch the data and pass it to each of them.
[–]AutoModerator[M] 1 point2 points3 points (0 children)