Skip to content

Commit

Permalink
Revert "only mark backend vars as dirty if they have changed (#4494)" (
Browse files Browse the repository at this point in the history
…#4547)

This reverts commit 3d89d74.
  • Loading branch information
masenf authored Dec 16, 2024
1 parent d7956c1 commit f71e6f9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions reflex/state.py
Original file line number Diff line number Diff line change
Expand Up @@ -1307,9 +1307,6 @@ def __setattr__(self, name: str, value: Any):
return

if name in self.backend_vars:
# abort if unchanged
if self._backend_vars.get(name) == value:
return
self._backend_vars.__setitem__(name, value)
self.dirty_vars.add(name)
self._mark_dirty()
Expand Down

0 comments on commit f71e6f9

Please sign in to comment.