nowfound

Life & fun · May 1, 2023

Reactive DOM Updates in Ruby

Hi everyone, I've been working on this thing for a while. It transpiles Haml into Ruby, and then it streams patches to the browser which update the DOM. There is a memory leak in s.rb, which I'm not really sure how to solve. Seems like objects stay alive for longer than they should because of circular references or something but I'm not sure what's going on to be honest. I think this approach has potential though.

Reactive DOM Updates in Ruby launched on May 1, 2023 with 8 votes, #1,797 of 4,910 launches that month and more than 75% of that year's launches. The site was still online in September 2026, 3 years on.

What it does

Server side reactive DOM updates in Ruby. Contribute to aalin/rdom development by creating an account on GitHub.

Does a similar job

all alternatives →
  • IM
    I made React with a faster Virtual DOM2022 · ▲109

    Hi! I made a React compatibility library for a Virtual DOM library (https://github.com/aidenybai/million). The idea is to have much faster rendering (a compiler optimizes virtual DOM beforehand) while ensuring the same developer experience React provides. This is very, VERY early stage, so be prepared for weird bugs / plugin incompatibility / etc. If you have any suggestions, I'd be more than happy if you replied in a comment with it! You can spin up the demo here >> https://stackblitz.com/github/aidenybai/million-react-compat

  • AA
    Aberdeen – An elegant approach to reactive UIs2025 · aberdeenjs.org · ▲224

    Yes, another reactive UI framework for JavaScript. Bear with me, please... :-) I 'invented' the concept for this back in 2011, and it was used (as a proprietary lib) in various startups. Even though many similar open source libs have been released since, and boy have I tried a lot of them, none have been able to capture the elegance and DX of what we had back then. I might be biased though. :-) So I started creating a cleaned-up, modern, TypeScript, open source implementation for the concept about five years ago. After many iterations, working on the project on and off, I'm finally happy…

  • A hash array-mapped trie implementation in C2023 · github.com · ▲171

    Long-simmering side project that is finally ready to see the light. HAMTs are a cool persistent data structure and implementing one has been a lot of fun. Beyond the code, there is likely some value in the extensive and largely complete implementation docs; basic benchmarks are linked in the README, too. Kind of aiming to be "the libavl for HAMTs". That is obviously a high and aspirational bar but a distinct possibility if it stirs up a little interest and/or contribution. Anyways, it's time for this to go out, collect feedback and maybe even some use outside of toy projects. Let me…

  • BP
    Build progressively enhanced reactive HTML apps using Go and Alpine.js2023 · livefir.fly.dev · ▲127

    Fir leverages Golang’s standard library html/template package and a bit of alpinejs to allow building reactive UIs. You start with plain old html and use alpinejs to enhance it to bring no-page-reload interactivity to web apps. The Fir toolkit is designed for Go developers with moderate html/css & js skills who want to progressively build reactive web apps without mastering complex web frameworks. It includes a Go library and an Alpine.js plugin. How it works ? On receiving user-interactions the fir server re-renders html templates and sends it over the wire where the fir client…

  • FastDom – Lightweight replacement of React and MobX2019 · github.com · ▲41

    Full reactivity JS/TS framework. Lightweight replacement of React + MobX + React Router. Very small and fast !! - PxyUp/Revact

  • Mayu Live, a reactive web framework written in Ruby2023 · github.com · ▲10

    Hi everyone, I have been working on this for some time now and thought I should post it here. I have enjoyed working with React in the past, and I love Ruby, so I thought I'd implement something like React in Ruby, and this is the result. Components are written in Haml and transformed into Ruby. Everything runs on the server, and there's no need to write any JavaScript. It's pretty fast, and latency is usually low enough nowadays when you can deploy apps anywhere in the world. It might not be suitable for all types of web apps, but it might be perfect for some. One of the main benefits of…

More life & fun this month

the category →

Source: Show HN post ↗

Launched alongside, May 2023

the whole month →
  • Sidekick▲1,341

    An AI-powered accessibility assistant in Stark

    AI · 2023 · getstark.co

  • In today's world, catchy headlines and articles often distract readers from the facts and relevant information. By utilizing OpenAI's language models, Boring Report processes sensationalist news articles, transforms them into the content you see, and helps readers focus on the essential details. We recently updated our iOS app experience, so any and all feedback would be appreciated. App Link: https://apps.apple.com/us/app/boring-report-news-by-ai/id644...

    AI · 2023 · boringreport.org

  • Generating powerful websites, one prompt at a time

    AI · 2023

  • AudioPen▲888

    The easiest way to convert messy thoughts into clear text

    AI · 2023 · audiopen.ai

  • Launch your website in seconds, get users in minutes

    Dev tools · 2023 · page.mmntm.build

  • Moda▲791

    An e-commerce growth marketing platform

    Growth · 2023