-
Notifications
You must be signed in to change notification settings - Fork 47.1k
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
Move instrumentation to renderers/shared. Closes #6797 #6801
Conversation
'setState(...): You passed an undefined or null state object; ' + | ||
'instead, use forceUpdate().' | ||
); | ||
} | ||
this.updater.enqueueSetState(this, partialState); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this.updater
falls back to the ReactNoopUpdateQueue
which is also in isomorphic/modern/class/
. Is it okay to not call ReactInstrumentation.debugTool.onSetState()
in that scenario?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it okay to not call ReactInstrumentation.debugTool.onSetState() in that scenario?
Yea, I think it’s fine.
Hmm. Doesn’t this move to |
69ca6d3
to
d51981e
Compare
Doh. Updated. Git view
(Minimal) Tree view
|
@iamdustan updated the pull request. |
…ared Move instrumentation to renderers/shared. Closes facebook#6797 (cherry picked from commit d125682)
From the initial report I also moved ReactPerf out, which maybe should be moved back? Also you may want me to move some files around, yet. The following is the git log version of the moves:
But it may be easier to see the added files in this treeview (with only added files kept):