Closed kmoskwiak closed 4 years ago
key param is unnecessary and may lead to problems with data overwriting in global context.
key
This is how useSSE should be invoked:
useSSE
useSSE( {}, () => { return new Promise((resolve) => {}); }, [] );
key
param is unnecessary and may lead to problems with data overwriting in global context.This is how
useSSE
should be invoked: