Closed Atmos4 closed 8 months ago
I'm leaning towards to adding str
as an extension function of van-element
. As my own preference, I like the following way:
const Hello = (state1: State<number>, state2: State<string>, state3: State<number>)
=> p("1: ", state1, ",2: ", state2, "3: ", state3)
Makes sense! I am going to go ahead and close this then 👌 I might implement this in van-element
Usage:
str
Do you like it? I can also add this separately in
van-element
, since this is useful for styling 😄