reactor
aleph.js
Our great sponsors
reactor | aleph.js | |
---|---|---|
11 | 13 | |
613 | 5,248 | |
- | 0.3% | |
7.1 | 6.6 | |
about 1 month ago | 9 months ago | |
Python | TypeScript | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
reactor
- Reactor, a LiveView Library for Django
- Launch HN: Pynecone (YC W23) – Web Apps in Pure Python
- Django equivalent to Rails Hotwire
-
Back-end languages are coming to the front-end
I'd love to see this approach make more headway in the Django community. Based on the last DjangoCon it seems like the community is coalescing around HTMX.
This tool does play very nicely with Django's templating engine; you can just have HTMX re-render a particular template block on the server, and send down that updated block. The migration path is quite clean; you just wrap your "HTMX-updated" template block in a `hx-post` div.
Having not gone too deep on HTMX, I'm interested in folks' thoughts on where it's lacking vs. LiveView and Hotwire. One area I can see is performance; Elixir is going to be faster than Django, and so if you're trying to handle high session counts over websockets. But the impression I get is that HTMX is a bit more light-weight, so I'm wondering if there's usecases that can't be met with it vs. LiveView.
Other Django libraries that haven't quite seen as much uptake:
We have https://github.com/edelvalle/reactor, and a port of Hotwire: https://github.com/hotwire-django but both of these don't seem to have much adoption (yet!).
-
Reactive Clojure: You don't need a web framework, you need a web language
Thank you for posting those, I wanted to post them but I don't comment often (). Wanted to chip in another contemporary: edelvalle/reactor, which is inspired by LiveView[0].
[0]: https://github.com/edelvalle/reactor
I am using Hotwire for a project, and I'm learning Elixir and Phoenix on the side. Finding edelvalle/reactor was immediately helpful to me though, because I cut my teeth on Python/Django, so reading a Python reference implementation helps me learn nuts and bolts of libraries, faster. (so, I figure that this might help someone else grok how these approaches work.)
-
How to combine Rails's Ajax support and Stimulus
If this sounds like a barebones version of notable frameworks like Elixir's Phoenix LiveView, Rails's StimulusReflex or Hotwire Turbo, PHP's LiveWire, Django's Reactor... well, you're right! (Bonus: my colleague @jgaskins built a LiveView clone for Crystal)
-
Phoenix LiveView/Laravel LiveWire alternatives for Django
Reactor
-
HTML over-the-wire is the future of Web Development
Reactor is a LiveView library for Django. It enables you to do something similar to Phoenix LiveView using Django Channels.
-
Django with htmx for easy and efficient SPAs
It looks a bit similar to Elixir Live View. Or similar in Django https://github.com/edelvalle/reactor, there are a couple of libraries.
-
StimulusReflex, or LiveView for Rails
Django does: https://github.com/edelvalle/reactor
aleph.js
-
I don't get fresh. why can't I use react without commiting to a server side framework?
Check aleph if you want to use react with deno. But I'd suggest sticking with Node.js and Vite as you'll get less surprises.
-
Modern SPAs without bundlers, CDNs, or Node.js
Here's another thing: if you want to grow from this exact setup, use deno. It has support for import maps and don't require a bundler or a separate compilation step for typescript
https://deno.land/[email protected]/basics/import_maps
Maybe add aleph too (which is similar to nextjs)
https://alephjs.org/
Deno won't require nearly as much tooling as nodejs, but it still has tooling for the cases you need it.
- Deno 1.28: Featuring 1.3M New Modules
-
Fresh is a new full stack web framework for Deno
There’s also https://alephjs.org, never used but pops up when you search for "deno react" so I assume is similar to nextjs.
- Aleph.js – Fullstack Framework in Deno
-
Using Ultra, the new React web framework
Aleph.js is a full-stack framework in Deno, used as an alternative to Next.js. Aleph.js offers features like ES module imports, file-system routing, SSR & SSG, and HMR with a fast refresh.
- Aleph.js is a fullstack framework in Deno, inspired by Next.js
- The Fullstack Framework in Deno
What are some alternatives?
django-unicorn - The magical reactive component framework for Django ✨
ultra - Zero-Legacy Deno/React Suspense SSR Framework
django-htmx - Extensions for using Django with htmx.
fresh - The next-gen web framework.
turbo - The speed of a single-page web application without having to write any JavaScript
vitext - The Next.js like React framework for better User & Developer experience!
Phoenix - Peace of mind from prototype to production
inertia-laravel - The Laravel adapter for Inertia.js.
htmx - </> htmx - high power tools for HTML
marky - A modular and extensible ESM and Deno Markdown parser.
Elixir - Elixir is a dynamic, functional language for building scalable and maintainable applications
derby - MVC framework making it easy to write realtime, collaborative applications that run in both Node.js and browsers