Skip to content

1.1.0

Compare
Choose a tag to compare
@nemanjam nemanjam released this 23 Apr 10:49
· 6 commits to main since this release

1.1.0

  1. Break the existing dom, events, constants logic into separate files
  2. Completely rewrite events logic
    • attach onScroll, onKeyDown, onVisibilityChange unconditionally on mount
    • fix onUrlChange mutation observer event and debounce it, await location.href, fixed hasLeftThread condition
    • add custom onArrivedToRedditThread event
    • replace the existing debounce function with debounceLeading and debounceTrailing from lodash
  3. Add retryAndWait function for better awaitng thread loading state