nosco / hx

A simple, easy to use library for React development in ClojureScript.
MIT License
246 stars 16 forks source link

Docstring support for defnc (and defcomponent) #63

Closed dpassen closed 3 years ago

dpassen commented 4 years ago

It would be nice to have first-class support for an optional docstring in the defnc and defcomponent macros.

Presently, I'm working around this via the ^{:doc " ... "} metadata.

jkxyz commented 3 years ago

This is resolved by https://github.com/lilactown/hx/pull/74