day8 / re-frame-10x

A debugging dashboard for re-frame. X-ray vision as tooling.
MIT License
634 stars 68 forks source link

Detect and alert users on unusual subscription run patterns #148

Open danielcompton opened 6 years ago

danielcompton commented 6 years ago

There are some subscription run patterns that are unusual, and that we should alert the user about.

mike-thompson-day8 commented 6 years ago

Aberrant patterns:

  1. a layer 3 subscription which ran but result tests = to last time
  2. a subscription which was both created and destroyed within the one epoch
  3. destroyed and run in same epoch?
  4. created but not run in an epoch
  5. Run multiple times in one epoch
danielcompton commented 6 years ago

A subscription that was destroyed and then run intra-epoch is bad news also, indicates that it is being dereffed inappropriately, possibly in an on-click handler.