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: ES6ify WebLabView #18215

Merged
merged 3 commits into from Oct 6, 2017
Merged

React: ES6ify WebLabView #18215

merged 3 commits into from Oct 6, 2017

Conversation

islemaster
Copy link
Contributor

Switch to an ES6 class for this component as general cleanup and prep for React 16.

I'm also removing a couple of methods from this component that seem to be totally unused. I suppose there's a chance Bramble hooked into them somehow, but that seems unlikely. I've manually tested Web Lab on localhost with this change and don't see any issues.

Copy link
Contributor

@cpirich cpirich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. I don't remember why we had those functions. If everything works without them, we might as well delete them :)

@islemaster islemaster merged commit 221f6ad into staging Oct 6, 2017
@islemaster islemaster deleted the react-no-createclass-weblab branch October 6, 2017 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants