I have seen re-frame-10x indeed..and it is a fantastic tool. And maybe that 
is where the answer lies as @danielcompton said on another issue. 
However, I guess what I am trying to debug is how to tell definitively, 
which specific de-ref of my reaction triggered a particular subscription to 
be rerun. 

If this information is not currently something immediately available, I did 
have other questions such as:

   - Does re-frame cache the results of a subscription run ? if so, where 
is the documentation or even informal information about that ? 
   - can I identify which specific deref causes a rerun ?

While I can see the effects of running subscriptions and events in 10x, I 
am trying to debug the specific areas in code that triggered their running

DOes this help ? 



On Monday, August 12, 2019 at 5:46:16 PM UTC-4, basket. wrote:
>
> Hi there, I am not sure I understand your scenario, but have you tried 
> https://github.com/Day8/re-frame-10x ?
>
> <https://about.me/gilvictor?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=gmail_api>
>  
> Victor Gil
> about.me/gilvictor 
> <https://about.me/gilvictor?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=gmail_api>
>  
>
>
> On Mon, Aug 12, 2019 at 3:12 PM Deuseks <jny...@gmail.com <javascript:>> 
> wrote:
>
>> Hi
>> I am using re-frame with expo/react native and my components are deeply 
>> nested .I create a pass into this nested structure a new atom I construct 
>> FROM the atom of a subscription. I pass that in since reactions cannot be 
>> edited and I want this structure to be edited. However, the nested 
>> structure contains a component that displays a modal. Whenever I open the 
>> modal and close the modal control, it forces a re-fetch of the subscription 
>> data.
>>
>>
>> The questions:
>>    
>>    1. 
>>    
>>    Why would the subscription be called again if I did not pass into the 
>>    nested structure the original reaction ?
>>    2. 
>>    
>>    Should I worry about this retrigger even if the data has not changed 
>>    ? I see it pulling the same stuff but maybe it is just passing back 
>> results 
>>    that are cached ? Are they cached ?
>>    3. 
>>    
>>    Is there a way in re-frame to definitively identify which deref of 
>>    the reaction/atom causes the subscription to be re-run ?
>>    
>> thanks for any help on this.
>>
>> -- 
>> Note that posts from new members are moderated - please be patient with 
>> your first post.
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "ClojureScript" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to clojur...@googlegroups.com <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/clojurescript/5c3a1a6b-3cb6-4a0c-a0a8-4712d4ed60a6%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/clojurescript/5c3a1a6b-3cb6-4a0c-a0a8-4712d4ed60a6%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojurescript+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojurescript/67dcb6e5-dce0-4a67-92ec-d167f10d781e%40googlegroups.com.

Reply via email to