Hi all,
I wanted to know below practice
Is it a right to have observeEvent
inside Observe
?
I know this is open ended question, but as a best practice, can we follow this?
Hi all,
I wanted to know below practice
Is it a right to have observeEvent
inside Observe
?
I know this is open ended question, but as a best practice, can we follow this?
As someone who has done this, I can say that this is almost never a good idea. You can learn more about why in Joe Cheng's talks here, but the moral of the story is that it makes a mess of your reactivity graph and your observers will likely end up firing more often than your intuition would suggest.
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link.