tetra-framework / tetra

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

Missing example for Alpine.js #54

Closed nerdoc closed 7 months ago

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