Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Warn on non-plain objects with same prototype and own fields #74
Comments
|
Can I pick this up? |
|
yes, go on :) |
|
@VariableVasasMT no success? :) |
|
@vzaidman I am extremely sorry, shit hit the fan, will pick this up, this week. |


Right now there is a false negative with non-plain objects passed as props, e.g. errors:
here,
errorprop is deep equal to the previous value but there's no warningOne possible solution is to check both
Object.getPrototypeOf(obj)andObject.keys(obj)for non-plain objects