Integration with React.js
Opened this issue · 2 comments
samik-1987 commented
How to integrate with react.js , What will be npm package . Please let me know .
shubham8170 commented
react provide inbuild node, package manager.
djgamerr commented
grab je sse.js from the "lib" directory
import it as usual
import { SSE } from "./sse";
and use it as you would normally use it. No special integrations or "npm i" needed here, just save to file and import.