Skip to content

Avoid recycling comments stores for different entities #4451

Martin Santangelo requested to merge fix/recycle-activity-comments into develop

Ticket(s) / Related Merge Requests

#4451 (closed)

Summary of Changes

Changed the logic of the BottomContent component to avoid reusing the stores with a different entity.

I used a reference instead of a state in order to avoid an unneeded re-render

I created a useForceRender hook to imperatively control when I want the component to render

Testing Considerations

Check issue

Regression Scope

It should affect only comments on the feeds (nor the full activity screen or blog view screen)

Platform Affected (web, mobile, etc)

Both

Developer Testing Completed

Tested on the iOS simulator

Screenshots

Does this impact

  • Localization
  • Dark/light mode
  • Guest mode

Merge request reports