question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Child reactions of child reactions do not get updated properly

See original GitHub issue

When user creates a reply comment to a parent reaction and then right after tries to create another child reaction to that newly created child reaction (of kind like in this instance) - the own_children key (and basically other keys also) of that object won’t get updated properly. The application crashes while trying to find path with FeedManager.getReactionPaths which returns undefined in FeedManager.onToggleChildReaction or later in FeedManager.onAddChildReaction.

https://user-images.githubusercontent.com/43254280/134659756-bd996ccc-422e-48a9-9a64-742643cc8256.mov

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:9

github_iconTop GitHub Comments

1reaction
arnautov-antoncommented, Dec 24, 2021

Hey again, @antishok! I missed your point at first but I understand now, I’ll create a separate issue to extend current CommentField component to accept comment as well as activity object so it can be used with comment replies. Thank you for pointing this out and thank you for your contribution. 🙂

1reaction
antishokcommented, Dec 24, 2021

I’ve modified CommentField to work with comment replies, I’ll share it here in case it’s useful to someone: CommentReplyField.jsx

Read more comments on GitHub >

github_iconTop Results From Across the Web

Recognizing and Treating Child Traumatic Stress - SAMHSA
Learn about the signs of traumatic stress, its impact on children, treatment options, and how families and caregivers can help.
Read more >
Why Do Kids Have Trouble With Transitions?
Being asked to change activities or locations is often a trigger for behavior like whining, complaining, or throwing tantrums. Kids may not be ......
Read more >
Respond to Your Kids; Don't React
It is okay for parents to be triggered by their children, but it is important for parents not to let their own emotions...
Read more >
Parenting a Child Who Has Experienced Trauma
Take their reactions seriously, correct any misinformation about the traumatic event, and reassure them that what happened was not their fault. ▫ Help...
Read more >
Understanding Your Child's Reaction to Crisis, by Age Group
Everyone is stressed right now – kids and adults alike. Learn how children of different ages respond to crises in their own unique...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found