Comments (2)
The solution for versions below v4 would be to wrap your styled components with an html element (div, span, etc.) so that our react component can attach ref
to it.
from react-intersection-observer.
I'll close this issue as it's something that depends on the library and has a fairly simple solution.
from react-intersection-observer.
Related Issues (20)
- Error boundary catches errors of child components HOT 11
- Warning about missing getDerivedStateFromError in error boundary
- support wrap a class component or functional component HOT 2
- server side
- Migrate to hooks to reduce size HOT 2
- codecov and storybook issues in build HOT 2
- Storybook failing to find variable: exports HOT 1
- Can't observe a React.Suspense element HOT 2
- The story book is broken HOT 1
- Missing type definitions since 1.3.0 HOT 2
- getpooled function is unexpected HOT 3
- npm is invalid on all releases HOT 3
- Not observing when rerendered HOT 6
- Enhancement: Does this actually not work with React v15? HOT 1
- Rm "module": "lib/es/src/index.js", from package.json HOT 5
- Using Yarn to install Library fails HOT 4
- Action Required: Fix Renovate Configuration
- Ability access the ref instance so I can use react-intersection-observer with existing refs HOT 1
- Support React 17; update peerDependencies HOT 7
- Dependency Dashboard
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-intersection-observer.