Skip to content
This repository was archived by the owner on Aug 19, 2022. It is now read-only.

Consistently require react/addons#312

Merged
ianobermiller merged 2 commits intoFormidableLabs:masterfrom
AnSavvides:consistency-react-addons
Aug 12, 2015
Merged

Consistently require react/addons#312
ianobermiller merged 2 commits intoFormidableLabs:masterfrom
AnSavvides:consistency-react-addons

Conversation

@AnSavvides
Copy link
Copy Markdown
Contributor

This could have a slight speed-up effect, but doing some crude testing hasn't shown this to be of a real significance. In any case, it's good to be consistent in how we do things!

This could have a speed-up effect, but has not been verified.
In any case, it's good to be consistent in how we do things.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

You can keep these as var {Component} = require('react/addons'); any good reason to change it to two lines?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Ha, that's a great point actually... Got carried away from resolve-styles where we actually make use of React! Fix incoming any second now :)

@ianobermiller
Copy link
Copy Markdown
Contributor

❤️

ianobermiller added a commit that referenced this pull request Aug 12, 2015
@ianobermiller ianobermiller merged commit 8a2a19a into FormidableLabs:master Aug 12, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants