If youre thinking of accepting a counteroffer from your soon-to-be-ex-company, think about it.
It cost you TIME to search for another job, to go to interviews, and to have the LUCK of finding another company that would pay MORE than yours.
Retention is extremely easy for the company, not you.
To get something better you have to WORK to find it.
And remember, when youre leaving, have everything in writing, from both companies.
Dont leave without a contract or you could lose both jobs. ( I saw some stories like that )