-
-
Notifications
You must be signed in to change notification settings - Fork 716
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Event handler documentation #457
Comments
Thanks. I'm working on a plan. More soon. |
Why does a string after the keyword not work here, like it does for function definitions? |
Until some kind of docstringability is added to re-frame, what would the suggested best practice be for clarifying quirky events? Comments above the |
Either that, or extracting the complex functionality (or all the functionality) to a function, and document the function |
At the moment, re-frame does not give users a way of adding docstrings to event handlers. I open this issue to discuss this possibility. Adding specs could be useful too (I'm fond of data specs)
Quick proof of concept for adding documentation, which extends
reg-event-fx
(ignores interceptors though)The text was updated successfully, but these errors were encountered: