infinitered / reactotron

A desktop app for inspecting your React JS and React Native projects. macOS, Linux, and Windows.
https://docs.infinite.red/reactotron/
MIT License
14.94k stars 945 forks source link

Cannot delete undefined subscriptions #1432

Open ElonVolo opened 9 months ago

ElonVolo commented 9 months ago

When I create a subscription and than press the trashcan icon, nothing happens.

Steps to repeat:

  1. Start reactotron
  2. Reload app
  3. Click on the "State" button on the sidebar.
  4. Create a subscription called "foo" (that no corresponding mobx-state-tree foo store), which will created a list entry in state section that is marked as "undefined".
  5. Hit click the trashcan button on the list. Observe that nothing happens.

Expected behavior:

An undefined subscription should deletable when the trash button is clicked.

marco-bic commented 2 months ago

I have the same issue to.

Alyssa-McKee-Copart2 commented 3 weeks ago

I also had this issue. Made the mistake of subscribing to ".*" and it resulted in a "" titled section that showed my entire state tree. And it has been stuck in my subscriptions for months.

Only just today I found a work around: Click the "clear" trashcan button at the very top, instead of the trash button on the individual subscription. That didn't appear to do anything, which I think is another bug? All my subscriptions were still there. But if you then add a new subscription after that, all of the subscriptions are cleared, even the blank one.