Our great sponsors
-
perseus
A state-driven web development framework for Rust with full support for server-side rendering and static generation.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
I've been working on LiveSvelte[0] which might answer this in the LiveView example. It integrates LiveView with Svelte and has SSR support by calling Node from within Elixir, I wouldn't call it unholy, it's quite nice :)
Routing is fully handled by Phoenix, and you can get quite fast page transitions with Live Navigation Events. It's just that whenever you need complex frontend state you can offload it to Svelte, while still maintaining that backend interopability, in this case with E2E reactivity.
What's also really nice is that LiveView and Svelte are both very declarative in the way they handle the 'view' layer. And so they map really well onto eachother.
I also wrote a blogpost[1] on the topic.
[0] https://github.com/woutdp/live_svelte
[1] https://wout.space/notes/live-svelte
Believe it or not, there are REST APIs and frontend frameworks for almost every programming language under the sun. And I mean EVERY. Example: this Prolog works in your browser https://github.com/SWI-Prolog/swish, and this is the corresponding package to do the API https://www.swi-prolog.org/pldoc/man?section=http-running-se...
But I can agree Rust has better marketing than Prolog.