Skip to content

Conversation

@goto-bus-stop
Copy link
Contributor

@goto-bus-stop goto-bus-stop commented Mar 22, 2017

Hi! 👋 Thanks for creating this component!

The React.createClass method is going to be deprecated soon and will
be removed in React v16.
facebook/react#9232

This patch changes the component to a class extended from
React.Component. It does it manually by assigning to the prototype,
to avoid introducing a compile step.

e; Oops, goofed up the title there with hub pull-request 😅

The `React.createClass` is going to be deprecated soon and will be
removed in React v16.
facebook/react#9232

This patch changes the component to a class extended from
`React.Component`. It does it manually by assigning to the prototype,
to avoid introducing a build step.
@goto-bus-stop goto-bus-stop changed the title Hi! 👋 Thanks for creating this component! Remove React.createClass Mar 22, 2017
@rexxars rexxars merged commit be588dd into remarkjs:master Mar 28, 2017
@rexxars
Copy link
Collaborator

rexxars commented Mar 28, 2017

Thanks for the contribution! Appreciated.

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants