In other om components, if a component have a variable parameters and I want to pass in a variable array. I can do the following
(apply dom/div nil (map my-function list))
However, I notice that I no longer can do this for mui components. I believe the root cause is components are macros. I tried eval, but still doesn't work.
In other om components, if a component have a variable parameters and I want to pass in a variable array. I can do the following
(apply dom/div nil (map my-function list))
However, I notice that I no longer can do this for mui components. I believe the root cause is components are macros. I tried eval, but still doesn't work.
Any fix or workarounds?