equals method
Whether this node is equal to another
Implementation
@override
bool equals(DCFComponentNode other) {
if (other is! StatelessComponent) return false;
// Components are equal if they're the same type with the same key
return runtimeType == other.runtimeType && key == other.key;
}