Skip to content

Add support for React 16 - #39

Open
gabergg wants to merge 4 commits into
dennybritz:masterfrom
gabergg:gg-add-react-16-support
Open

Add support for React 16#39
gabergg wants to merge 4 commits into
dennybritz:masterfrom
gabergg:gg-add-react-16-support

Conversation

@gabergg

@gabergg gabergg commented Oct 18, 2018

Copy link
Copy Markdown

Fixes #36 and #32.

Using prop-types to allow for React 16 support.

There were also multiple places where we were passing through props to elements that we didn't want to (some are bad and React complains). Instead of passing {...this.props} in these cases, I destructured the props and only passed through the extras.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant