Since we were experiencing the expected problems, I created a plugin that provides the full names along with the mentions:
https://github.com/thoka/discourse-provide-full-name-in-mentions
Accordingly, the ajax request was removed from the component.
I also added an option to configure the template used for rendering
mentions: