Closed nerdoc closed 7 months ago
It should be made clear that Django template vars like {{ variable }}
are updated using HTML updates (public methods, update()
), and Js/Alpine variables like <div x-text="variable"></div>
, x-model
etc are updated by update_data()
from the server.
As discussed, the backend usage is well documented, but the Alpine part ant the combination of the two lacks an example.