You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to completely remove second argument 'source' from public api of applyChange utility?
Even it is not really used (and docs clearly state this), function checks that passed source is 'truthy',
so a have to use following pattern:
changes.forEach(change=>applyChange(INITIAL_STATE,true/*stated as not used in docs, but have to be truthy to pass internal checks*/,change))
The text was updated successfully, but these errors were encountered:
diff/index.js
Line 260 in c97fb9c
Hello! First of all thanks for a nice tool.
Is it possible to completely remove second argument 'source' from public api of applyChange utility?
Even it is not really used (and docs clearly state this), function checks that passed source is 'truthy',
so a have to use following pattern:
The text was updated successfully, but these errors were encountered: