It only needs three or four states to pass this type of legislation to make it effective nationally. No National candidate is going to forsake running in a state that he ( or She) might win.
Absolutely true as well as provide instant "standing" to any resident of the state to challenge legality of potential usurper.