Replies: 2 comments
-
Hi @whamtet form-1 reagent components are fine now for using re-frame subscriptions, #218 and https://lambdaisland.com/blog/11-02-2017-re-frame-form-1-subscriptions have more details on this. I thought we had some docs on this somewhere, but I had a quick look and couldn't come up with anything. Happy to take a PR on this, but I'm not really sure where it should go. @mike-thompson-day8 is more clued up with the docs, but he's unavailable for the next few weeks. So, happy to take a PR but it might be a while before it gets reviewed and merged. |
Beta Was this translation helpful? Give feedback.
-
I'm closing this. I think most of the re-frame docs and examples clear. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the great page on Creating Reagent Components
One issue that I'm not clear on is whether a second order function is necessary when dereferencing a subscription. For example
I'm guessing the first form is ok because the atom is not actually created in the
let
block, but it would be good to clarify in the doco. I'm happy to do a doco PR if you'd like.Beta Was this translation helpful? Give feedback.
All reactions