Comments (11)
@efstathiosntonas I reverted the PR that broke 3.12.0. Here is the patch package. It fixed my crash. Perhaps it will fix #6066 also.
patches/react-native-reanimated+3.12.0.patch
react-native-reanimated+3.12.0.patch
from react-native-reanimated.
Hey @giantslogik @efstathiosntonas, the PR owner is currently a bit unreachable, but I will bring this to his attention next week! Thanks for the patience and the patch 😄
from react-native-reanimated.
@efstathiosntonas I reverted the PR that broke 3.12.0. Here is the patch package. It fixed my crash. Perhaps it will fix #6066 also.
patches/react-native-reanimated+3.12.0.patch react-native-reanimated+3.12.0.patch
worked thx
from react-native-reanimated.
Hey! 👋
The issue doesn't seem to contain a minimal reproduction.
Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem?
from react-native-reanimated.
The call stack is:
TypeError: property is not configurable
This error is located at:
in Unknown (created by _c)
in RCTView (created by View)
in View (created by _c)
in _c
in RCTView (created by View)
in View
in Unknown (created by GenericTouchable)
in RNGestureHandlerButton (created by NativeViewGestureHandler)
in NativeViewGestureHandler (created by RNGestureHandlerButton)
in RNGestureHandlerButton (created by BaseButton)
in BaseButton (created by GenericTouchable)
in GenericTouchable (created by TouchableOpacity)
in TouchableOpacity
in Unknown
in RCTView (created by View)
in View
in Unknown
in RCTView (created by View)
in View
in Unknown (created by ViewRenderer)
in RCTView (created by View)
in View (created by ViewRenderer)
in ViewRenderer (created by RecyclerListView)
in RCTView (created by View)
in View (created by ScrollComponent)
in RCTView (created by View)
in View (created by ScrollComponent)
in RCTScrollContentView (created by ScrollView)
in RCTScrollView (created by ScrollView)
in ScrollView (created by ScrollView)
in ScrollView (created by ScrollComponent)
in ScrollComponent (created by RecyclerListView)
from react-native-reanimated.
Seems this PR is the root cause: #5548 .
from react-native-reanimated.
duplicate: #6066
from react-native-reanimated.
@efstathiosntonas. I didn't find any commonality in the call stack. I'm going to patch package a revert to #5548 to see if it fixes the crash. That PR looks like it was intended to improve logging / warnings.
from react-native-reanimated.
@giantslogik thanks for the patch, it's exactly the same issue as #6066, I just didn't add the full trace.
Fact is, the better logging on 3.12.0 helped me spot a small issue so reverting it is not the way to go imho, it needs to be reworked so it won't crash.
from react-native-reanimated.
I exhibited the same error. Apparently the cause of my error was the fact that I was doing some basic logic just within the useAnimatedStyle
hook:
const animatedButtonsStyle = useAnimatedStyle(() => {
const hasTags: boolean = connection?.tags && connection?.tags.filter(tag => tag.type.value === 'connection').length > 0
const start: number = hasTags ? 90 : 60
const buttonHeight: number = 56
return {
...
}
})
The hook did not like this. The main culprit was the hasTags
variable.
from react-native-reanimated.
Duplicate of #6066
from react-native-reanimated.
Related Issues (20)
- Task :react-native-reanimated:buildCMakeRelWithDebInfo[armeabi-v7a] FAILED HOT 4
- Entering and/or layout animation flickering when SafeAreaView is a first parent of an animated component HOT 1
- > java.net.SocketException: Connection reset HOT 1
- iOS build faied: ld: Undefined symbols HOT 3
- SVG Polygon Animation not working HOT 1
- [3.12.0] TypeError: property is not configurable on useAnimatedStyle hook HOT 12
- useSharedValue `modify` does not exist, but shows in docs HOT 1
- Animated component issue: touchables and TextInputs inside the Animated.ScrollView are not responsive HOT 3
- web: AnimatedComponent raises a deprecation warning for findDOMNode in v3.12.0 HOT 4
- React Native Reanimated Not Responsive HOT 5
- Invalid `RNReanimated.podspec` file: [Reanimated] Unsupported React Native version. Please use 0.71 or newer. HOT 3
- Android build failure v3.12.0 HOT 12
- Impossible to animate any SVG color on android HOT 5
- Performance regression or race condition between UI and JS threads
- RangeError: Set maximum size exceeded HOT 3
- com.facebook.react.uimanager.IllegalViewOperationException: Trying to resolve view with tag 2133 which doesn't exist HOT 9
- 3.13.0-rc.0 crash on iOS (animated flatlist) in Release build only HOT 4
- withRepeat is flickering on android HOT 4
- TypeError: null is not an object (evaluating '_ReanimatedModule.default.createNode') HOT 1
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-reanimated.