Comments (4)
Is this still happening with the latest SDK and repo version?
from react-native-skeleton-content.
Closing as there is no comment from requester, feel free to re-open if needed!
from react-native-skeleton-content.
Hi @alexZajac, I am seeing this on Expo SDK 47, react-native-reanimated 2.12.0.
I think, in my case, it may be related to the number of SkeletonContent instances being rendered at one time. I am currently using it with items in a FlatList, and elements of the ListHeaderComponent. If I reduce the number of instances below a certain threshold, the warning is not invoked.
I saw this issue mentioned here and attempted a more generalized solution:
import * as Skeleton from 'react-native-skeleton-content'
export const SkeletonContent = (props): JSX.Element => {
const SkContent = useCallback(() => <Skeleton.default {...props} />, [props.isLoading])
return (<SkContent />)
}
Unfortunately, the issue persists.
Please report: Excessive number of pending callbacks: 501. Some pending callbacks that might have leaked by never being called from native code: {"28357":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"28359":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"28361":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"28363":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"28365":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"28367":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"28375":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"28442":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"28551":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"28553":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"28555":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"28557":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"28559":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"28844":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"28847":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"28850":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"28853":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"28856":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"28859":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"28868":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"28935":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"29045":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"29048":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"29051":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"29054":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"29057":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"29831":{"module":"ReanimatedModule","method":"getValue"},"29850":{"module":"ReanimatedModule","method":"getValue"},"29869":{"module":"ReanimatedModule","method":"getValue"},"29888":{"module":"ReanimatedModule","method":"getValue"},"29907":{"module":"ReanimatedModule","method":"getValue"},"29926":{"module":"ReanimatedModule","method":"getValue"},"29945":{"module":"ReanimatedModule","method":"getValue"},"29964":{"module":"ReanimatedModule","method":"getValue"},"29983":{"module":"ReanimatedModule","method":"getValue"},"30002":{"module":"ReanimatedModule","method":"getValue"},"30019":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"30022":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"30025":{},"30028":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"30031":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"30039":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"30046":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"30057":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"30064":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"30075":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"30082":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"30093":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"30100":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"30111":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"...(truncated keys)...":451} `
from react-native-skeleton-content.
Hi @alexZajac, I am seeing this on Expo SDK 47, react-native-reanimated 2.12.0.
I think, in my case, it may be related to the number of SkeletonContent instances being rendered at one time. I am currently using it with items in a FlatList, and elements of the ListHeaderComponent. If I reduce the number of instances below a certain threshold, the warning is not invoked.
I saw this issue mentioned here and attempted a more generalized solution:
import * as Skeleton from 'react-native-skeleton-content' export const SkeletonContent = (props): JSX.Element => { const SkContent = useCallback(() => <Skeleton.default {...props} />, [props.isLoading]) return (<SkContent />) }
Unfortunately, the issue persists.
Please report: Excessive number of pending callbacks: 501. Some pending callbacks that might have leaked by never being called from native code: {"28357":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"28359":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"28361":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"28363":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"28365":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"28367":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"28375":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"28442":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"28551":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"28553":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"28555":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"28557":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"28559":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"28844":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"28847":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"28850":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"28853":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"28856":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"28859":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"28868":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"28935":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"29045":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"29048":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"29051":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"29054":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"29057":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"29831":{"module":"ReanimatedModule","method":"getValue"},"29850":{"module":"ReanimatedModule","method":"getValue"},"29869":{"module":"ReanimatedModule","method":"getValue"},"29888":{"module":"ReanimatedModule","method":"getValue"},"29907":{"module":"ReanimatedModule","method":"getValue"},"29926":{"module":"ReanimatedModule","method":"getValue"},"29945":{"module":"ReanimatedModule","method":"getValue"},"29964":{"module":"ReanimatedModule","method":"getValue"},"29983":{"module":"ReanimatedModule","method":"getValue"},"30002":{"module":"ReanimatedModule","method":"getValue"},"30019":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"30022":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"30025":{},"30028":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"30031":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"30039":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"30046":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"30057":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"30064":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"30075":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"30082":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"30093":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"30100":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"30111":{"module":"NativeAnimatedModule","method":"startAnimatingNode"},"...(truncated keys)...":451} `
did you ever find a solution to this? I'm still getting it on my end as well
from react-native-skeleton-content.
Related Issues (20)
- Update react-native-reanimated dependency HOT 2
- Typescript getting error: Types of property 'flexDirection' are incompatible. HOT 1
- please change the react-native-reanimated with latest version HOT 3
- Incompatibility with Expo SDK 41 HOT 15
- How can I let the component figure out the layout by it's children. HOT 1
- Feature: Support nested child layout, extract skeleton layout into components to reuse.
- expo SDK 42 HOT 3
- Invariant Violation Error HOT 3
- Expo SDK 43
- flatlist data not showing inside <SkeletonContent> HOT 3
- Expo SDK 43 HOT 2
- Remove React Native Reanimated 2 as direct dependency HOT 6
- Dependencies versions upgrade for Expo SDK 44 HOT 19
- Expo SDK 45 HOT 7
- App freezing when turning on debug with chrome HOT 3
- The library is not working with the latest expo SDK 46 HOT 27
- Error message HOT 8
- Lib doesn't work on RN 0.72 HOT 3
- react-native-reanimated v3 drops support for code this package uses (fixed) HOT 5
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-native-skeleton-content.