re-frame

Tom H. 2026-05-24T02:13:27.342819Z

Could we make TUIs with re-frame2?

kpassapk 2026-05-27T17:31:01.207949Z

I did something similar with Hyperlith (Datastar). https://youtu.be/N1lpP13iLWY

🔥 1
Tom H. 2026-05-24T02:16:37.083859Z

Or even better, render a TUI and web app from the same code like Zach https://www.youtube.com/watch?v=08AnxqnhTcs&t=238s&pp=0gcJCQYLAYcqIYzv

Tom H. 2026-05-24T02:40:44.345179Z

I suppose it would be implementing a new adapter targeting charm.clj?

Tom H. 2026-05-25T09:20:07.081409Z

Awesome. > Might yet, tweak it to include nice features of Replicant Why not replicant itself as a target?

2026-05-25T09:31:30.161849Z

A few significant architectural mismatches. Like no-component reactivity. No concept of "context" which is needed for many frames on a page (Story, kinda stuff). But it is hard to be an expert in all these matters, so perhaps I'm misunderstanding. In due course, there's no blocker for others to create their own adaptor.

Tom H. 2026-05-25T09:35:08.867959Z

Gotcha. Excited to take it all for a spin :)

p-himik 2026-05-24T07:53:24.474089Z

Re-frame is about state. How you represent it is up to you.

2026-05-24T08:45:05.543339Z

@tomisme yeah that would be adapter layer. I'm still figuring that part out (soon). Initially I was keen on supporting a variety of frontends, Uix, Helix, Reagent. But I've got distracted onto tooling and hanven't got back to it yet. Also, I'm starting to wonder if helix is worth the effort - it really is all-in on React hooks. Uix looks more reasonable but I'm not very knowledgeable about any of them really, so cautious. As an experiment, I have an adaptor for Reagent-slim which is a cut down version of Reagent which just has the essentials (Reagent grew a few too many features over the years). Might yet, tweak it to include nice features of Replicant. Maybe.

2026-05-24T08:47:47.190989Z

The new version of re-frame-10x (called re-frame2-xray) is taking all my time currently

❤️ 2
2026-05-24T09:06:56.635219Z

And, yes, I'm acutely aware that re-frame2-xray is a human-facing bit of tech and really all the work should be going into the AI facing tech (`re-frame2-pair` and mcp) but its just an itch I have to scratch.

🤖 1
djanus 2026-05-28T13:43:57.122109Z

Somewhat related: https://blog.danieljanus.pl/clj-tvision/

❤️ 1
2026-05-26T20:23:53.177759Z

Proper inline app-db diffing ... (this is within re-frame2-xray, the replacement for re-frame-10x)

2026-05-26T20:23:57.921739Z

❤️ 2
2026-05-26T20:55:24.784709Z

❤️ 2
2026-05-30T04:40:56.879799Z

It lives

2026-05-30T04:42:21.032249Z

That is a re-frame2 tool called Story capturing various rendered states of a given UI component (a https://storybook.js.org/docs/get-started/why-storybook equivalent for re-frame2) And in this screenshot, Story is displaying various "UI states" for xray (which is just re-frame-10x)

2026-05-30T04:48:20.359969Z

So that screenshot is significant because it shows three technical layers re-frame2 -> xray -> Story