In every field of life, whether it is work, society or family, some individuals don't think or work in your accordance, and you eventually start disliking them. It is because of their person, thinking and their way of living that are quite different from yours. The best you can do is to be in constructive approach and do the minimal, i.e., act with courtesy. The more you try to cope with them (be it on-field or off-field), the more you will gain composure, patience, and techniques to work under pressure and understand deeply regarding human relationships.
However, aforementioned isn’t sufficient to be a person you need to be in daily life. Here is an account of some practical ideas that can better help you to perform efficiently with others whom you don't like. Hope they may work for you too.
Assess yourself for self-improvement; be patient to learn the impacts of your words before you speak or judge others before you know all the facts; praise others; be respectful; foster optimism; increase qualities of conflict management, communication, and leadership. If someone infuriates you through his/her actions or words, never react to him/her. Instead, choose to be silent. Evaluate the reason behind his/her gestures. If it's your fault, then gently accept else respond him/her thoughtfully in place of doing the same with him/her. Remember, people who choose to respond instead of reacting to others' actions are more successful than those who don't.
A leader may get more aggressive with players on-field and the same thing can happen with the boss at office hours. The reason could be because he is more ambitious than others. Watch out for a cause behind the nature of the person you don’t like, and try to be self-aware and polite when they strike you. Every situation has both good as well as bad faces. Try to have a positive perception and deal with the situation wisely.
Create a positive experience and welcome them if they indulge themselves more in your activities. The best thing you can do is to control your temper. Especially when you work as a team, knowing to handle your anger is of utmost importance both for effective participation in the team as well as to maximise your teammates' potential.
Do not play the blame game. Try your best to swim with the tide. The cause of both success as well as failure lies on the performance of the whole team and not on individuals. If the team succeeds, the credit goes to everyone, and if it fails, it's all of them behind that too. Hence, to perform with people you dislike, could be a hectic task, but you have to move with it. A team with members hating each other can never live up to the dream of winning. The resentment for each other reduces the strength of the team to rule over the opponent team.Working with persons you honestly don't like is tough but losing the team spirit forsake of such thing will lead your team towards failure. “Anger is an acid which can cause more harm to the vessel it is stored than anything on which it is poured.” quoted by Mark Twain. So try to hold up your rage for the people in a team whom you dislike and focus on the prior things that are necessary to attain better results as a team.