I've recently been party to an interview where a colleague asked the candidate - "What do you know about Dependency Injection?".
I had a gut feeling that that seemed like "gotcha" question, but at the time couldn't articulate why, beyond the fact that the candidate had only been in the web dev industry for not quite 2 years, mainly having focused on React. I've since had some time to put into words why I believe this isn't a great question to ask a front end developer, and also provide advice for how to answer it if you were to come across this in an interview.
Read more here -