How do you review a PR when parts of it are outside your knowledge?

Posted by Worried_Lab0@reddit | ExperiencedDevs | View on Reddit | 59 comments

I am curious how others handle this.
When you review a pull request and you come across concepts, patterns or parts of the code that you do not fully understand, what do you do next?

Do you take time to investigate that topic and try to understand it on your own, or do you ask the author directly?
How deep do you usually go before approving or requesting changes?

I would love to hear how more experienced engineers approach this.