The interviewer has asked me to write down the routing for 3 pages, I have given him something as below
<Router>
<Route path='/' exact component={About}/>
.
.
</Router>
He then asked me whether i have ever done routing for any application. I said yes.
A suggestion to the interviewer here: I request you to not decide the candidate's capability if his answer is a bit abstract. Do not expect word to word compare for routing configuration as this is just a one time configuration. Instead give them a problem statement or a real time scenario and see how the candidate's approach is to solve the problem.
All the questions are quite simple, which are Array destructuring, useEffect in React etc...
I wouldn't have joined this company even if i get the offer and luckily they didn't select me. I wanted to go to a company where i want to work with other smart people but not with people with this kind of skillset.