Comments (27)
+1 hitting this on latest expo (48)
from react-native-skeleton-content.
Just make a new expo project with the latest sdk's and u'll see this error msg pops:
TypeError: _ReanimatedModule.default.configureProps is not a function
from react-native-skeleton-content.
@alexZajac Would it be possible to move the these dependencies in the package.json
"expo-linear-gradient": "^11.4.0",
"react-native-reanimated": "2.10.0",
to peerDependencies
rather than keep them in dependencies
? And also not lock the react-native-reanimated
version but rather use ^
instead?
Locking the version always requires Expo users who already have react-native-reanimated
to add the resolutions field which is not ideal.
from react-native-skeleton-content.
Update this sht or delete it, why are you wasting our time?
from react-native-skeleton-content.
+1 expo 49 uses react-native-reanimated@~3.3.0. Is this package dead?
I was able to use resolutions ^2.14.4 in expo 48 but this solution no longer works because of the major bump on react-native-reanimated in expo 49.
from react-native-skeleton-content.
+1 expo 49 not worked with the above solutions. expo 48 works by the way
from react-native-skeleton-content.
Is there any solution to it? I am facing same error when I upgrade my expo SDK from 44 to 45 or 47.
from react-native-skeleton-content.
Guys, instead of just typing "Same issue here", just try to contribute to community and solve that.
from react-native-skeleton-content.
Hi all,
I have some news to share regarding this GitHub repository.
Due to my current capacity constraints, I have made the decision to transfer ownership. This will allow fresh perspectives and new energy to take charge.
If you are interested to take ownership, please reach out!
I also want to express my gratitude for your comments/contributions to the repository!
Thanks!!
from react-native-skeleton-content.
This PR helped me solve this problem.
software-mansion/react-native-reanimated#3441
Adjusted resolutions in package.json of react-native-reanimated package. There are also instructions for yarn in pr.
"resolutions": { "react-native-reanimated": "^2.9.1" },
from react-native-skeleton-content.
Thanks @Narottam04. I found I needed to provide a resolution for expo-linear-gradient as well as it was already used as a dependency:
"resolutions": {
"react-native-reanimated": "^2.12.0",
"expo-linear-gradient": "~12.0.1"
}
from react-native-skeleton-content.
Looking forward to a resolution here (no pun intended) -> resolution in package.json isn't working, getting this error:
TypeError: undefined is not an object (evaluating 'cppVersion.match')
from react-native-skeleton-content.
similar behavior in expo SDK 49. I report the error I get.
ERROR TypeError: _ReanimatedModule.default.createNode is not a function (it is undefined), js engine: hermes
from react-native-skeleton-content.
from react-native-skeleton-content.
Just use moti to create your skeleton, it's easy to use. I've drop this package to use moti.
And perform easier animation than reanimated
https://moti.fyi/
from react-native-skeleton-content.
Hey! Can you provide more information to the bug? We have an issue template 👀
from react-native-skeleton-content.
Thanks for flagging it! I currently have no capacity to fix it, anyone up for a PR?
from react-native-skeleton-content.
I found this PR that might be a solution to the problem but as I'm very new to react native I don't know where to start to help with a PR.
Later I will try to follow the description of the PR and give a feedback
software-mansion/react-native-reanimated#3441
from react-native-skeleton-content.
The issue is SDK 46 expects reanimated version ~2.9.1. The current package uses an earlier version of reanimated.
It's very odd that in the v1.0.28 the reanimated version is "react-native-reanimated": "2.1.0" and in the v1.0.25 we have "react-native-reanimated": "^2.9.1".
In v1.0.25 when we run yarn why react-native-reanimated
we have this:
=> Found "[email protected]"
info Has been hoisted to "react-native-reanimated"
info This module exists because it's specified in "dependencies".
info Disk size without dependencies: "26.39MB"
info Disk size with unique dependencies: "26.62MB"
info Disk size with transitive dependencies: "34.55MB"
info Number of shared dependencies: 42
=> Found "react-native-skeleton-content#[email protected]"
info This module exists because "react-native-skeleton-content" depends on it.
info Disk size without dependencies: "38.87MB"
info Disk size with unique dependencies: "39.07MB"
info Disk size with transitive dependencies: "46.99MB"
info Number of shared dependencies: 40
from react-native-skeleton-content.
Same issue with expo 46
from react-native-skeleton-content.
Hi all! Is there anything to update on this packages or can we close this?
from react-native-skeleton-content.
I still can't use it.
I have these dependencies.
"react-native-gesture-handler": "~2.8.0",
"react-native-reanimated": "~2.12.0",
"react-native-skeleton-content": "^1.0.28"
And this resolutions.
"resolutions": {
"react-native-reanimated": "^2.9.1",
"expo-linear-gradient": "^12.0.1"
},
And I try to use it like this...
<SkeletonContent
containerStyle={{ flex: 1, width: 300 }}
isLoading={!seller}
layout={[{ key: '1', width: 220, height: 20, marginBottom: 6 }]}
>
<Header regular="OLÁ" bold={seller!.name} />
</SkeletonContent>
It shows me the following error.
_ReanimatedModule.default.configureProps is not a function
from react-native-skeleton-content.
Any fix other than downgrading expo?
from react-native-skeleton-content.
I have the same issue ):
from react-native-skeleton-content.
Same issue here
from react-native-skeleton-content.
Echoing @MarcHbb, Moti Skelton is the way to go. Moti is well maintained and supports reanimated v3. Not a 100% drop-in replacement, but an easy migration.
from react-native-skeleton-content.
Hi all,
I have some news to share regarding this GitHub repository.
Due to my current capacity constraints, I have made the decision to transfer ownership. This will allow fresh perspectives and new energy to take charge.
If you are interested to take ownership, please reach out!
I also want to express my gratitude for your comments/contributions to the repository!
Thanks!!
Hey, as I said here I don't have the bandwidth at the moment to maintain it.
I started this project years ago to learn and I cannot allocate time to it right now.
If you have the solution ready, I would love to review and merge the PR for everyone else.
from react-native-skeleton-content.
Related Issues (20)
- Excessive number of pending callbacks with Expo SDK 40 HOT 4
- 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
- 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.