All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
0.2.6 - 2019-02-10
- Updated README
- Set peer dep of
react
andreact-dom
to>=16.3.0
0.2.5 - 2019-02-10
- Loosened
react
andreact-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 - 2019-02-02
- Errors are now exposed in the components and hooks
0.2.3 - 2019-02-02
- Use
useEffect
overuseLayoutEffect
for deferred performance reasons
0.2.2 - 2019-02-02
usePeerState()
now correctly sends the current state instead of initial state when a new peer connects
0.2.1 - 2019-01-29
PeerStateProvider
andReceivePeerState
components to be used when react hooks aren't available for the consumer
0.2.0 - 2019-01-28
- BREAKING CHANGE: Renamed
useRecievePeerState
touseReceivePeerState
, and all mentions of it across the codebase
0.1.3 - 2019-01-28
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 - 2019-01-28
- Increased size limit by 0.01KB
- Ignore dist folder from repo
0.1.1 - 2019-01-28
usePeerState()
not being able to store more than the latest peer connection
0.1.0 - 2019-01-28
- initial release