sse.js icon indicating copy to clipboard operation
sse.js copied to clipboard

Integration with React.js

Open samik-1987 opened this issue 3 years ago • 2 comments

How to integrate with react.js , What will be npm package . Please let me know .

samik-1987 avatar Jun 10 '21 16:06 samik-1987

react provide inbuild node, package manager.

shubham8170 avatar Jun 30 '21 20:06 shubham8170

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.

djgamerr avatar Aug 05 '24 09:08 djgamerr