facebook/react — pull request #1608 by spicyj (2014-05-27 06:08:35+00:00)
Title: Add onClickOutside event

Useful for dropdowns and the like. Perhaps the "best" way to support this use case is to support a cohesive layers API, but this is a fairly common request and I think a reasonable way to support it.