reagent

A minimalistic ClojureScript interface to React.js http://reagent-project.github.io/
2020-08-09T11:37:21.153900Z

Ah nice I always just passed it into the props

2020-08-09T11:37:43.154100Z

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