changelogs.md


madou/react-peer

Repository  -  API  -  Source

0.2.6

February 10, 2019

Changed

  • Updated README
  • Set peer dep of react and react-dom to >=16.3.0

0.2.5

February 10, 2019

Changed

  • Loosened react and react-dom peer dependency - now if you want to use the custom hooks make sure to have ^16.8.0, else anything from ^16.3.0 is fine for the component usage

0.2.4

February 2, 2019

Added

  • Errors are now exposed in the components and hooks

0.2.3

February 2, 2019

Changed

  • Use useEffect over useLayoutEffect for deferred performance reasons

0.2.2

February 2, 2019

Fixed

  • usePeerState() now correctly sends the current state instead of initial state when a new peer connects

0.2.1

January 29, 2019

Added

  • PeerStateProvider and ReceivePeerState components to be used when react hooks aren't available for the consumer

0.2.0

January 28, 2019

Changed

  • BREAKING CHANGE: Renamed useRecievePeerState to useReceivePeerState, and all mentions of it across the codebase

0.1.3

January 28, 2019

Added

  • sideEffects: true to packagejson to enable code splitting
  • Put peerjs behind a dynamic import to enable codesplitting in modern es-module environments

0.1.2

January 28, 2019

Changed

  • Increased size limit by 0.01KB
  • Ignore dist folder from repo

0.1.1

January 28, 2019

Fixed

  • usePeerState() not being able to store more than the latest peer connection

0.1.0

January 28, 2019
  • initial release