Fork me on GitHub
Lukas Domagala14:12:34

how do i put one viewer into another?

(v/html [:div.text-center
         (v/plotly {:data [{:z [[1 2 3] [3 2 1]] :type "surface"}]})])
i’ve been trying this, but its not working. is there some way to make it happen?


this should work when you wrap the v/plotly in a call to v/inspect. Plan to document this and write a bit about why that's required next week


on second thought might also make a small change to support the snippet above

Lukas Domagala14:12:17

Great, thank you, I'll try it later today. Would the change work for all nested views?


what namespace is v/inspect in?

Lukas Domagala16:12:00

ah sorry, i’m talking about clerk