def __hash__(self: DataclassInstance) -> int:
        """Calculate the hash of the object.

        Returns:
            The hash of the object.
        """
        return hash(
            (
                type(self).__name__,
                *[
                    getattr(self, field.name)
                    for field in dataclasses.fields(self)
                    if field.name not in ["_js_expr", "_var_data", "_var_type"]
                ],
            )
        )
Calculate the hash of the object.

        Returns:
            The hash of the object.
        
reflex/vars/base.py