beginners

puercopop 2026-04-25T00:54:44.451099Z

Question about the component library. Where can I find documentation about the metadata approach. The readme mentions it in passing. About storing the metadata on each component. Do I still need to define a record for each component? I've found code like https://github.com/seancorfield/next-jdbc/blob/bb8b0c4efd38ac2dc466b9e9ac64109e0b1df5fe/src/next/jdbc/connection.clj#L323-L333

2026-04-25T01:00:42.000649Z

No you don't. The metadata thing is actually a not so widely used feature of protocols, not something component invented

2026-04-25T01:01:40.971369Z

https://clojure.org/reference/protocols briefly covers extending protocols via metadata at the very bottom

2