react-native-skeleton-content
react-native-skeleton-content copied to clipboard
Dependencies versions upgrade for Expo SDK 44
Upgrading expo projects to expo SDK 44 added some changes in dependencies versions :
- expo-linear-gradient : 10.0.3 => 11.0.0
- react-native-reanimated : 2.2.0 => 2.3.1
This induced some conflicts because of required dependencies of react-native-skeleton-content 1.0.24.
Is it possible to bump versions of these dependencies in a newer version of the package ? That would be great :)
Is there a workaround for this until you push a fix?
any news on this?
Do we have any news on this?
Indeed! I was upgrading from Expo 41 and after unimodules, got this error.
While this problem is not solved in the official repository I forked it to solve this problem with sdk 44 https://www.npmjs.com/package/@vitu.soares/react-native-skeleton-content
@alexZajac have you had a chance to take a look at this issue? Seems like a quick simple fix.
I tried to do it by myself and propose a fix, but without success. I'll try to dive in more, but I don't know when I'll have time to do so, sorry for that.
Note/Reminder : By the way, I'm using react-navigation in my expo project which, in the expo SDK44 context, also bring expo-linear-gradient incompatibility.
While this problem is not solved in the official repository I forked it to solve this problem with sdk 44 https://www.npmjs.com/package/@vitu.soares/react-native-skeleton-content
@victorsoares96 How do I install your package?
+1 Love the library, a fix for this would be great!
+1 this is def the best skeleton loader out there! Would love a fix for this. Thanks so much!
+1 Looking forward for a fix and using this package
While this problem is not solved in the official repository I forked it to solve this problem with sdk 44 https://www.npmjs.com/package/@vitu.soares/react-native-skeleton-content
Tried this and got the error:
Error: Requiring module "node_modules\react-native-reanimated\lib\Animated.js", which threw an exception: Error: Reanimated 2 failed to create a worklet, maybe you forgot to add Reanimated's babel plugin?
@ansmlc did you add reanimated plugin to your babel config? Follow the steps here: https://docs.expo.dev/versions/latest/sdk/reanimated/
@ansmlc did you add reanimated plugin to your babel config? Follow the steps here: https://docs.expo.dev/versions/latest/sdk/reanimated/
That worked. Thanks!
@ansmlc did you add reanimated plugin to your babel config? Follow the steps here: https://docs.expo.dev/versions/latest/sdk/reanimated/
@jeff-polls @victorsoares96 Another issue with this package... Any idea what this is about?
./node_modules/@vitu.soares/react-native-skeleton-content/lib/SkeletonContent.js 265:67
Module parse failed: Unexpected token (265:67)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| return transform;
| };
> const getBoneContainer = (layoutStyle, childrenBones, key) => (<react_native_1.View key={layoutStyle.key || key} style={layoutStyle}>
| {childrenBones}
| </react_native_1.View>);
Thanks gor this great package, but this bug killing us, please publish a fix for this.
@victorsoares96 could you write a PR to solve this? Would love to have your contribution enabling Expo 44!
@alexZajac surely! in this week I will be make this, thank's!
While this problem is not solved in the official repository I forked it to solve this problem with sdk 44 https://www.npmjs.com/package/@vitu.soares/react-native-skeleton-content
@victorsoares96 How do I install your package?
npm i @vitu.soares/react-native-skeleton-content