Show HN: Reactive DOM Updates in Ruby (github.com)
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.
2 comments
[ 2.6 ms ] story [ 16.4 ms ] threadI think rdom could turn into something usable if I could only fix that memory leak.
I'm also working on Mayu Live (https://github.com/mayu-live/framework), but I made rdom to experiment granular updates with signals, inspired by SolidJS (been watching a lot of streams by Ryan Carniato).