If the invitation was aimed to extract a better deal from Iran and protect our friend and ally Israel, then the speaker miscalculated, for it will do the opposite. If the invitation was aimed at scoring political points by undermining the administration, it's deeply troubling that the speaker is willing to undercut diplomacy in exchange for theatrics on the House floor.
Diplomacy in war and peace negotiations requires strategy and patience, not an illusory quick fix. Diplomacy is messy, often involving difficult compromises with unseemly governments. But it is also how the vast majority of international crises are actually resolved -- through negotiation rather than through the barrel of a gun. Those are worthy lessons to remember after the Iraq and Afghan wars.