- Rewrite with functional components. (@timjacobi)
- Render any child component apart from
Else
if condition is true. (@timjacobi) - Added tests. (@timjacobi)
- Allow
If
to have no children.
- Add missing import statement.
- Fix isInstance method for React >= 0.14
- Rewritten in ES2015.
- Allow empty branches, and make them optional.
- Add support for lazy evaluation of
Then
andElse
children. (@Rleahy22)
- Use React.PropTypes.element instead of React.PropTypes.component, if available.
- Use
this
instead ofwindow
to make it work with browserify.
- Initial release