Is leex expected to detect unchanged keys for a map/scruct

:wave:

In a templete like

<p><%= @map.a %></p>
<p><%= @map.b %></p>

and an operation like assign(socket, map: %{map | b: new_b})

Is liveview expected to detect that only map.b changes and update accordingly?

2 Likes

No. We perform tracking only for assigns at the moment.

2 Likes