You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
whamtet
changed the title
Clarifying Creating Reagent Components for Subscriptions #docs
Clarifying Creating Reagent Components for Subscriptions
Dec 4, 2017
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.
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.The text was updated successfully, but these errors were encountered: