1. 04 May, 2021 1 commit
    • Thomas Randolph's avatar
      Add a small utility for tracking (and reacting to) repeated events · cf82980f
      Thomas Randolph authored
      This commit adds a small utility that allows a consumer to create
      instances of the stateful occurrence tracker that have a small set
      of generic tools for tracking and responding to occurrences of
      something.
      
      Example usecases:
      - Track errors accrued for a given network request (that is not
      implicitly retried, for example)
      - Track clicks on a UI element that doesn't need to be global,
      but is too much to be within a component
      - Respond to odd occurrences one way, even occurrences differently;
      without adding that boilerplate to the component
      cf82980f
  2. 30 Apr, 2021 39 commits