Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/diff/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,14 +165,14 @@ export function diff(
}

if (
!c._force &&
((c.shouldComponentUpdate != NULL &&
(!c._force &&
c.shouldComponentUpdate != NULL &&
c.shouldComponentUpdate(
newProps,
c._nextState,
componentContext
) === false) ||
newVNode._original == oldVNode._original)
newVNode._original == oldVNode._original
) {
// More info about this here: https://gist.github.com/JoviDeCroock/bec5f2ce93544d2e6070ef8e0036e4e8
if (newVNode._original != oldVNode._original) {
Expand Down
Loading