Features
BREAKING CHANGES
- useWebSocket: rework useWebSocket (#326) (4013107), closes #326
- the
ws
option in the return ofuseWebSocket
is not a ref instead of plain WebSocket instance useWebSocket
'ssend
will now buffers data before the connection established instead of discarding slientlyuseWebSocket
's returnedstate
is renamed tostatus
- the
- Switch from umd to iife build for CDN, fix #329 (8f76f3a), closes #329
- CDN build switched from
umd
toiife
. Then entry renamed fromdist/index.umd.js
todist/index.iife.js
. - The global names of packages are now extend on
VueUse
.VueUseShared
,VueUseFirebase
is no longer appliable. vue-demi
is now inlined with CDN build.- CDN usage is now like:
- CDN build switched from
<script src="https://unpkg.com/@vueuse/shared"></script>
<script src="https://unpkg.com/@vueuse/core"></script>