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

Adds require for Box component to Testing.md #606

Merged
merged 3 commits into from Jan 27, 2017
Merged

Adds require for Box component to Testing.md #606

merged 3 commits into from Jan 27, 2017

Conversation

developering
Copy link
Contributor

Without a require/import for the Box variable in the first example, it was not obvious that Box was an example of a user's component. It took me several times of reading through the description and the code before I realized what was happening. Adding an import should make it clearer to future readers.

Without a require/import for the Box variable in the first example, it was not obvious that Box was an example of a user's component. It took me several times of reading through the description and the code before I realized what was happening. Adding an import should make it clearer to future readers.
Copy link
Member

@darthtrevino darthtrevino left a comment

Choose a reason for hiding this comment

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

Can you reference box from ./components/Box? Usually with stuff like that it's coming from a local path.

@developering
Copy link
Contributor Author

Thanks @darthtrevino, good call. I just made that update.

@darthtrevino darthtrevino merged commit 61baa4b into react-dnd:master Jan 27, 2017
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.

None yet

2 participants