I'm a full stack web developer, I've been looking for a job lately as a junior since I don't have experience with working for companies, but I've done some projects in the past from design to deployment(for about 6 years).
In a job interview, I had lately I've been asked what I think is a weird question in the context of front-end CSS questions:
Interviewer: "What would you do to optimize the performance of rendering many elements to the page?"
Me: "I don't think I follow, optimizing what exactly? what do you mean by 'rendering'?"
Interviewer: "Let's say that you got 10,000 search results from the back end, how can you optimize the performance of rendering them to the page"
Me: "Sorry again, but don't understand the question, In the front end, if you must render all of them I don't know a way of 'optimizing' the rendering. Are we talking about CSS here? or JS? Ajax?"
Interviewer: "...Whatever you see fit to solve that problem..."
Me: "Well, being honest, I wouldn't send 10,000 search results in the first place. And if I had to I would display only a handful of them to the user at a time may be using placeholders(later clarified that I meant virtual lists) for the loading elements. but I don't see a solution if you want to display all of them at once..."
The interviewers seemed like I got it wrong...
Did I miss anything? I even searched the web for an answer but found nothing, and to be honest, I feel confident with my front-end(specifically) knowledge... But that question made me think that maybe I missed something in the field.
Edit: Just to clarify, I don't specifically care if that was the answer the interviewer wanted, I want to know if there is a way I don't know to optimize the rendering of that amount of elements other than the examples I gave.