1. 30 Aug, 2021 6 commits
  2. 24 Aug, 2021 1 commit
  3. 23 Aug, 2021 6 commits
  4. 17 Aug, 2021 8 commits
  5. 13 Aug, 2021 1 commit
    • Robert Knight's avatar
      Allow for approximate equality in range-util tests · b8e0087a
      Robert Knight authored
      Several tests in range-util-test.js started failing locally after the
      most recent Puppeteer upgrade with actual and expected values differing
      by up to 1.0.
      
      Change the tests to check for approximate equality, which is all that is
      required for this use case.
      b8e0087a
  6. 12 Aug, 2021 14 commits
  7. 11 Aug, 2021 3 commits
  8. 10 Aug, 2021 1 commit
    • Robert Knight's avatar
      Remove ThreadList debugging code · b4fe9177
      Robert Knight authored
      I believe we know what was causing the issue in ThreadList where an
      effect callback was sometimes called with closed-over variables which
      did not match the most recent render. See [1] for details. The issue
      really needs to be resolved in a more general way than trying to work
      around it in individual components.
      
      This commit removes code added for debugging this and also adds a check
      for a legitimate way (ie. without anything going wrong inside Preact)
      that the problem could occur, although it should never happen in the
      actual app as we never render `ThreadList` in a container that is
      disconnected from the document.
      
      [1] https://github.com/hypothesis/client/pull/3665#issuecomment-895857072
      b4fe9177