Weekly Brain Dump #45
At a Glance
- Unhinged Instance based components work too
- Interesting Links Cool things I found this week
- Comments
Unhinged
I have continued working on Unhinged. I fixed up support for instance
components and realised that I can’t support Phlex based syntax where you do
render Blah.new since that’ll reinitialise the component multiple times. You
instead need to hold on to the long lived object yourself, so you’d do something
along these lines:
class Blah
include Unhinged::Component
def initialize
@beep = Beep.new
end
def view
div do
render @beep
end
end
end
I honestly can’t understand how much I’m loving this project and it’s really making me enjoy front end development now that I don’t have to write JavaScript. I need to figure out a proper testing approach still though.
Interesting Links
No Man Is an Island: I've felt this a lot of times over my life, community makes everything better.
AI is mass decompiling games. That's both awesome and scary.: This is very interesting and has lead to me doing some experimentation.
Tiny Little Office: An office suite that stores your documents in the URL. Very cute and neat.
Interactive refactoring in gopls: Using language servers for interactive refactoring makes so much sense.
Static Analysis for the Uninitialized: I need to go over this again, but it's a good read.
2026 Ruby on Rails Community Survey Results: I love seeing what the community is doing.