Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

feat: add useChannelStateListener and useConnectionStateListener hooks #65

Merged
merged 10 commits into from
Aug 10, 2023

Commits on Aug 10, 2023

  1. Configuration menu
    Copy the full SHA
    f54cca1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    defa93c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e028495 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    18c4852 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    eb0c355 View commit details
    Browse the repository at this point in the history
  6. refactor: remove useChannelState and useConnectionState

    this functionality is covered by the listener hooks and it's
    straightforward enough to get the same behaviour by just updating a
    `useState` inside the listener function so i'm removing these for now
    just for simplicity.
    owenpearson committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    1aedf57 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d63153a View commit details
    Browse the repository at this point in the history
  8. refactor: remove useState from event listener hooks

    gives the user full control over whether their component re-renders
    owenpearson committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    2e5f263 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    702043d View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    46f98d6 View commit details
    Browse the repository at this point in the history