The easy react typescript solution for creating components with short life cycles
```npm install --save react-simple-clickout```