We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f0fde2 commit 152bf07Copy full SHA for 152bf07
src/internals/dispatcher.js
@@ -250,7 +250,7 @@ function dispatchAction<A>(
250
queue: UpdateQueue<A>,
251
action: A
252
) {
253
- if (componentIdentity === getCurrentIdentity()) {
+ if (componentIdentity === currentIdentity) {
254
// This is a render phase update. Stash it in a lazily-created map of
255
// queue -> linked list of updates. After this render pass, we'll restart
256
// and apply the stashed updates on top of the work-in-progress hook.
0 commit comments