mpetazzoni/sse.js

Integration with React.js

Opened this issue · 2 comments

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

react provide inbuild node, package manager.

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.