Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React 16.2.x runtime throws an exception on ES7 autobind render() #466

Merged

Conversation

azproduction
Copy link
Contributor

Any usage of this component with the latest React causes:

Cannot assign to read only property 'render' of object '#<ProxyComponent>'

This PR changes render = () => syntax to regular method declaration in handleFocus component.

@elvisvoer elvisvoer mentioned this pull request Feb 17, 2018
@elvisvoer elvisvoer merged commit 2bc8948 into casesandberg:master Feb 17, 2018
@elvisvoer
Copy link
Collaborator

@azproduction thanks for the PR!

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.

2 participants