Tests whether one instance can be used in place of another.
Used mostly to compare properties and state of a component to avoid unnecessary updates.
If you imagine a class with 8 fields, equality would compare all 8 fields where as this would typically just compare
the ID field, the update-date, or the revision number.
You might think of this as a very quick version of equality.
Don't miss Reusability.shouldComponentUpdate which can be applied to a component via ReactComponentB.configure.
Tests whether one instance can be used in place of another. Used mostly to compare properties and state of a component to avoid unnecessary updates.
If you imagine a class with 8 fields, equality would compare all 8 fields where as this would typically just compare the ID field, the update-date, or the revision number. You might think of this as a very quick version of equality.
Don't miss
Reusability.shouldComponentUpdate
which can be applied to a component viaReactComponentB.configure
.0.9.0