day8 / re-frame

A ClojureScript framework for building user interfaces, leveraging React
http://day8.github.io/re-frame/
MIT License
5.4k stars 715 forks source link

Fix example reference in reg-sub docstring #764

Closed joshuamzm closed 1 year ago

joshuamzm commented 1 year ago

Reading through the reg-sub docstring (https://day8.github.io/re-frame/api-re-frame.core/#reg-sub), I found confusing a reference to a function input-fn not previously mentioned in the document. From context, I understood it referred to the signal function used as the second argument of reg-sub.

superstructor commented 1 year ago

Thanks @joshuamzm Good spotting.