Author: Fantashit

Posted in Uncategorized

[preset-env] allow specifying corejs location

As mentioned in storybookjs/storybook#12312, we currently have a problem due to babel injecting a relative core-js import. Inside storybook, we build from the consumer’s directory…

Continue Reading
Posted in Uncategorized

“Maximum call stack size exceeded” in 7.12.7

Bug Report I would like to work on a fix! Originally reported by @ehoogeveen in #12383 (comment). I managed to create a way smaller example…

Continue Reading
Posted in Uncategorized

TypeScript non-null assertion operator not stripped off with deep optional chaining

Bug Report I would like to work on a fix! I noticed a really strange regression in in @babel/core 7.12.7. When used with optional chaining,…

Continue Reading
Posted in Uncategorized

BABEL_TRANSFORM_ERROR – babel traverse context – cannot read property “removeBinding” of null

Bug Report EDIT by @nicolo-ribaudo You can workaround this bug by making sure that @babel/core uses an older @babel/traverse version. If you are using yarn…

Continue Reading
Posted in Uncategorized

App freezes when calling `scrollTo` from `useAnimatedScrollHandler`

Description I have two ScrollViews, one of them with a useAnimatedScrollHandler. When this handler’s onScroll event is fired, the worklet calls the new function scrollTo…

Continue Reading
Posted in Uncategorized

Missing export TimingAnimation, application crash

Description crash on ios, Unable to resolve module TimingAnimation: error: Error: Unable to resolve module ./animations/TimingAnimation from node_modules/react-native-reanimated/src/Animated.js Screenshots Steps To Reproduce update to latest…

Continue Reading
Posted in Uncategorized

Reanimated2: exception in useAnimatedStyle

Description Exception inside useAnimatedStyle function while trying to call Object.values on updater._closure: TypeError: Cannot convert undefined value to object Screenshots Package versions Platform: Android (not…

Continue Reading
Posted in Uncategorized

Is it possible to bind to custom events?

I’m working on an Android app that receives events from a custom hardware integration. I have some java code that sends these events over the…

Continue Reading
Posted in Uncategorized

Question about createAnimatedComponent type

Description Is there a specific reason why createAnimatedComponent expects and returns any? instead of e.g. T? If that would be a better solution, I’ll gladly…

Continue Reading
Posted in Uncategorized

How to use setState in worklet

Description how to change state or same in reanimated v2 events Code const x = useSharedValue(0); const [state , setState] = React.useState(false); const gestureHandler =…

Continue Reading