Skip to content
This repository has been archived by the owner on Jul 20, 2020. It is now read-only.

v0.1.1

Compare
Choose a tag to compare
@toxicFork toxicFork released this 11 Mar 00:06
· 378 commits to master since this release

npm install --save [email protected]

Changelog ( see diff )

Fixes

  • core

    • Fixed a bug which would crash when the return type from a composite component would change e.g.:
    class Wrapper extends React.Component {
      static propTypes = {
        internal: React.PropTypes.bool,
        res: React.PropTypes.bool,
      };
    
      render() {
        if (this.props.internal) {
          return (<scene/>);
        }
    
        if (this.props.res) {
          return (<MyResources/>);
        }
    
        return (<MyScene/>);
      }
    }

Tests

  • Added tests for the above case

Documentation

  • Small documentation fixes