You use an emergency derailleur hanger to continue using the bike before deciding on a permanent solution.
Problem Solvers
This is like using a claw but more expensive. Its advantage is that it will not interfere with the axle position in the dropout.