A minimalistic ClojureScript interface to React.js

Ah nice I always just passed it into the props


Any reason to prefer setting the meta data instead?

lilactown 2020-08-09T17:05:30.156900Z

Not for html elements like :li. If you’re using a component you’ve defined, then you might not have a place to set those props. E.g. [some-component foo bar] In this case there’s no props map to pass a key to, so you’ll want to use metadata