Pass a named function callback to an old JS library
I have a library that accepts a
data-callback="someFn" attribute in one of the elements. Is there a way in SolidJS to create this function at the component level and pass it down to that attribute?