facebook/react — pull request #58 by spicyj (2013-06-04 21:38:25+00:00)
Title: Make unmountAndReleaseReactRootNode not throw

When there isn't any React node in the DOM, unmountAndReleaseReactRootNode threw an exception because component was undefined. Instead, return whether we were able to unmount the component.