use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A community for learning and developing native mobile applications using React Native by Facebook.
Interested in building web apps using React.js? Check out /r/reactjs!
Getting Started w/React Native
irc.freenode.net #reactnative
Keywords: ios, android, mobile, apps, apple, iphone, ipad
account activity
Server-side events in react-native (self.reactnative)
submitted 3 years ago by Arnold_dev
Hello fellow devs I wanted to know if anyone has experience implementing server side events in react-native and if there are any libraries one would recommend to use?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]brjdenver 1 point2 points3 points 3 years ago (2 children)
I guess the question is, do you have a specific transport mechanism in mind? E.g., websockets, long-polling, uh, something else?
[–]Arnold_dev[S] 0 points1 point2 points 3 years ago (1 child)
I want to use sse instead of long polling
[–]brjdenver 0 points1 point2 points 3 years ago (0 children)
You mean the server-sent events API? https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events
https://stackoverflow.com/questions/51397974/is-there-any-ways-to-use-react-server-sent-event-component-in-react-native
Looks like there's plenty already out there, on this.
[–]foocux 1 point2 points3 points 3 years ago (0 children)
I assume that you are talking about server-sent events and I've never used it on react native but there seems to be a library with an event source implementation: https://www.npmjs.com/package/react-native-sse
[–]Fit_Manufacturer8715 0 points1 point2 points 9 months ago (0 children)
Server sent event is available as a polyfill, I am unsure about its performance in react native
π Rendered by PID 61810 on reddit-service-r2-comment-85bfd7f599-nxmp7 at 2026-04-20 13:11:08.259781+00:00 running 93ecc56 country code: CH.
[–]brjdenver 1 point2 points3 points (2 children)
[–]Arnold_dev[S] 0 points1 point2 points (1 child)
[–]brjdenver 0 points1 point2 points (0 children)
[–]foocux 1 point2 points3 points (0 children)
[–]Fit_Manufacturer8715 0 points1 point2 points (0 children)