tetra-framework / tetra

Tetra - A full stack component framework for Django using Alpine.js
https://www.tetraframework.com
MIT License
540 stars 15 forks source link

Missing example for Alpine.js #54

Closed nerdoc closed 3 months ago

nerdoc commented 3 months ago

As discussed, the backend usage is well documented, but the Alpine part ant the combination of the two lacks an example.

nerdoc commented 3 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.