nit: we usually don't indent all the way. This makes it very easy to reach the 80 columns limit :)

```
var cascade = (this.props.cascade > 0) ?
  this.props.cascade :
  this.props.leaveCascade;
```