clerk

2024-04-06T18:17:06.369919Z

Could an Cerk extension be written, which moves Clerk in the direction of "streamlit" ? So "data science web apps" vs notebooks ? I have seen Clerk demos of "input" and "reactive" output which seems to show this, but I am not sure if this can be "abstracted", so that I can write:

(def x (clerk/input "x"))
(clerk/html x)
And it does the right thing, (= so re-render when x gets new input)

arohner 2024-07-04T09:42:04.091549Z

Sorry to resurrect this thread, but do controls work with static builds? I’m evaluating using clerk for some internal tools, and it’s a security problem for us to deploy eval to production

2024-07-04T10:24:14.064569Z

Anything that requires a live back end will not work with a static build. (I can’t answer more specifically without more details about your situation.)

arohner 2024-07-04T10:26:02.607019Z

Yeah, makes sense when I think about it

👍 1
2024-04-08T09:34:53.851379Z

… and it’s definitely part of the larger vision of Clerk 🙂

mkvlr 2024-04-06T18:53:52.296749Z

in principe yes, check out https://github.com/nextjournal/clerk-demo/blob/main/notebooks/controls.clj

mkvlr 2024-04-06T18:55:31.943349Z

clerk’s caching currently works on the level of vars, so we don’t yet cache function applications. Plan to look into this though.