Skip to content

Commit f06f2d1

Browse files
OliverJAshthebuilder
authored andcommitted
Remove note about polyfill
1 parent 8d0d1d3 commit f06f2d1

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,3 @@ import Observer from 'react-intersection-observer'
9696
</h2>
9797
</Observer>
9898
```
99-
100-
## Universal rendering
101-
The IntersectionObserver polyfill requires `window` and `document`, and will crash if you try to import it outside the browser.
102-
To allow the Observer to be rendered universally, it only loads the IntersectionObserver polyfill if `window` exists.

0 commit comments

Comments
 (0)