Skip to content

Commit 972fb11

Browse files
committed
polyfill disclaimer
1 parent 6f45048 commit 972fb11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
This library is a pure JavaScript implementation of the [EventSource](https://html.spec.whatwg.org/multipage/server-sent-events.html#server-sent-events) client. The API aims to be W3C compatible.
44

5-
You can use it with Node.js or as a browser polyfill for
6-
[browsers that don't have native `EventSource` support](http://caniuse.com/#feat=eventsource).
5+
You can use it with Node.js, or as a browser polyfill for
6+
[browsers that don't have native `EventSource` support](http://caniuse.com/#feat=eventsource). However, the current implementation is inefficient in a browser due to the use of Node API shims, and is not recommended for use as a polyfill; a future release will improve this.
77

88
This is a fork of the original [EventSource](https://github.com/EventSource/eventsource) project by Aslak Hellesøy, with additions to support the requirements of the LaunchDarkly SDKs. Note that as described in the [changelog](CHANGELOG.md), the API is _not_ backward-compatible with the original package, although it can be used with minimal changes.
99

0 commit comments

Comments
 (0)