Releases: kmoskwiak/useSSE
Releases · kmoskwiak/useSSE
v3.0.0-beta.0
Introducing React 18 support
What's Changed
- Bump lodash from 4.17.15 to 4.17.19 by @dependabot in #8
- Bump lodash from 4.17.15 to 4.17.19 in /example by @dependabot in #9
- Security fixes; Example update by @kmoskwiak in #10
- Bump elliptic from 6.5.2 to 6.5.3 in /example by @dependabot in #11
- Fix typo in message by @leonardoalifraco in #23
New Contributors
- @dependabot made their first contribution in #8
- @leonardoalifraco made their first contribution in #23
Full Changelog: v2.0.0...v3.0.0-beta.0
2.0.1
v2.0.0
v1.2.0
v1.1.2
v1.1.1
v1.1.0
v1.0.0
This version comes with breaking changes. Versions 0.x.x
are not compatible.
key
param is no longer needed,- name of global variable is now customizable,
- seperation of data an internal contexts.
Migration from 0.x.x
consists in removing key
param from the useSSE
hook calls:
// before
const [data] = useSSE(
{},
"my_key",
() => {
return fetch();
},
[]
);
// after
const [data] = useSSE(
{},
() => {
return fetch();
},
[]
);