Skip to content

Commit 67939e2

Browse files
authored
Merge pull request #18 from RIP21/patch-1
Replace not working JSFiddle with Codesandbox example
2 parents 2766f11 + 52fb20d commit 67939e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ with a single event listener on `document`. While this is great if your entire a
1414
it's not so great if your React component is inserted into a page containing other event listeners. If an
1515
event happens inside your React component, _**your component will be the last to hear of the event**_. The
1616
event will first propagate to all its ancestor elements on the page.
17-
[Here is a JsFiddle to demonstrate](http://jsfiddle.net/erikras/bL5br9nb/).
17+
[Here is a Codesandbox to demonstrate](https://codesandbox.io/s/n07oj17614).
1818

1919
If your problem is that you need to stop events leaking out of your React component to the rest of the page,
2020
`<NativeListener>` is the solution.

0 commit comments

Comments
 (0)