News for hackers. Stuff that matters.
Re:Tetra – Full stack reactive component framework for Djang... by samwillis on Friday May 27, 2022 @09:06AM (#31529144)
Currently yes, it is tightly coupled with Alpine.js for the server<->browser coms. However Alpine is so lightweight it's easy to throw in an `x-ignore` [0] and then mount any other framework for a component and still take advantage of the coms and bundling.

There is a "BasicComponent" that currently has no JS, one idea is expand this with very basic js support (when it mounts on the page your js would receive the element) so that other frameworks can be used with Tetra, probably implemented as extensions.

For react you should take a look at Reactivated[1] though! they are doing interesting things with Django and React.

0: https://alpinejs.dev/directives/ignore

1: https://www.reactivated.io

There are no comments on this comment yet.