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

Set the owner during traverseAllChildren #4569

Merged
merged 1 commit into from
Aug 6, 2015

Conversation

sebmarkbage
Copy link
Collaborator

This is basically just adding some context to the warning in ReactFragment
so that we can more easily find the callers.

We only need this temporarily. It will likely not go out in a release.

cc @spicyj

expect(console.error.calls.length).toBe(1);
expect(console.error.calls[0].args[0]).toContain(
'Any use of a keyed object'
);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you assert that "Foo" is also in the message?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It is actually not in the message. We are pulling it off the stateful module in our internal logs.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Got it, okay.

@sophiebits
Copy link
Collaborator

👍

This is basically just adding some context to the warning in ReactFragment
so that we can more easily find the callers.
sebmarkbage added a commit that referenced this pull request Aug 6, 2015
Set the owner during traverseAllChildren
@sebmarkbage sebmarkbage merged commit 7ffff57 into facebook:master Aug 6, 2015
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

3 participants