Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration with React.js #20

Open
samik-1987 opened this issue Jun 10, 2021 · 2 comments
Open

Integration with React.js #20

samik-1987 opened this issue Jun 10, 2021 · 2 comments

Comments

@samik-1987
Copy link

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

@shubham8170
Copy link

react provide inbuild node, package manager.

@djgamerr
Copy link

djgamerr commented Aug 5, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants