I worked for Company A for two years but resigned because of a bad boss. This person was later fired, and now the new boss wants me back. They are offering me a salary higher than what I was earning while I was there. I left on good terms with all the rest of the staff.
What factors should I consider before responding to their offer?