Open Nehal-Zeller opened 5 months ago
I'm getting this intermittent crash in my project and can't seem to understand what could have caused this?
I'm using mixPath and getYForX functions but from the library, it seems the functions can't accept undefined or null values as parameter. export const interpolatePath = ( value: number, inputRange: number[], outputRange: Path[], extrapolate = Extrapolation.CLAMP ) => { "worklet"; ..... return serialize(path); export type Path = { move: Vector; curves: Curve[]; close: boolean; };
export const interpolatePath = ( value: number, inputRange: number[], outputRange: Path[], extrapolate = Extrapolation.CLAMP ) => { "worklet"; ..... return serialize(path);
export type Path = { move: Vector; curves: Curve[]; close: boolean; };
Both outputRange and curves don't accept null or undefined.
"d3": "^7.9.0", "react-native-reanimated": "^3.8.1", "react-native-redash": "^18.1.3", "react-native-gesture-handler": "^2.15.0", "react-native": "0.73.6", "react": "18.2.0",
I can't seem to reproduce it but a lot of people are running into this issue so If anyone can help with any pointers, much appreciated. Thanks!
@wcandillon any help would be much appreciated, Thanks!
I'm getting this intermittent crash in my project and can't seem to understand what could have caused this?
I'm using mixPath and getYForX functions but from the library, it seems the functions can't accept undefined or null values as parameter.
export const interpolatePath = ( value: number, inputRange: number[], outputRange: Path[], extrapolate = Extrapolation.CLAMP ) => { "worklet"; ..... return serialize(path);
export type Path = { move: Vector; curves: Curve[]; close: boolean; };
Both outputRange and curves don't accept null or undefined.
I can't seem to reproduce it but a lot of people are running into this issue so If anyone can help with any pointers, much appreciated. Thanks!