actually, I don't understand what is going on. Seems to me that dom-node doesn't care about the data I pass in.
because the function doesn't receive it
Ok, displaying the data works, but how to use set-state hook of react instead of http://rigsomelight.com/devcards/#!/devdemos.custom_cards swap! here?