Issues after upgrading to 0.12 - broken on web
See original GitHub issueHi @nandorojo ,
thanks for your AMAZING library. You’ve built something amazing here for the community.
I just upgraded to 0.12 and everything I’ve build which was working fine, is broken right now. I am a bit stuck to understand what happened.
I have a dead simple fadeIn animation (a MotiView with a bunch of unanimated childrens)
index.js:1 The above error occurred in the <ForwardRef(Moti)> component:
Mapper.js:33 Uncaught TypeError: Cannot convert undefined or null to object
at Function.keys (<anonymous>)
at extractMutables (Mapper.js:33)
at Mapper.js:30
at Array.forEach (<anonymous>)
at extractMutables (Mapper.js:30)
at Mapper.extractMutablesFromArray (Mapper.js:38)
at new Mapper (Mapper.js:8)
at JSReanimated.startMapper (JSReanimated.js:61)
at startMapper (core.js:233)
at Hooks.js:449
After downgrading to 0.11, everything works as expected.
I don’t see any API changes, so I am curious what’s broken right now. Any clue?
<ScrollLock isActive={lockActive}>
<MotiView
style={styles.container}
from={{ opacity: 0 }}
animate={{ opacity: 1 }}
transition={{ type: "timing", duration: 400 }}
>
<Text style={styles.title}>{t("global:welcome")}</Text>
<Text style={styles.subtitle}>{t("welcome:introtext")}</Text>
<View style={styles.buttonContainer}>
<StyledButton
onPress={() => navigation.push("Register")}
text={t("welcome:start tasting")}
/>
</View>
</MotiView>
</ScrollLock>
Sorry, thats not a really helpful example, but from my perspective, it just breaks no matter what I do.
Even a single
<MotiView
style={styles.container}
from={{ opacity: 0 }}
animate={{ opacity: 1 }}
transition={{ type: "timing", duration: 400 }}
></MotiView>
is enough to cause the error. Expo Web. Not breaking on iOS or Android.
Issue Analytics
- State:
- Created 2 years ago
- Comments:13 (9 by maintainers)
Top Results From Across the Web
Solved: After Upgrade to 5.3.0.12 website broke
After upgrade to 5.3.0.12 website getting "Object reference not set to an instance of an object." error and can't logon.. Copied older version...
Read more >Lessons learned when upgrading to Terraform 0.12 - Medium
Fix breaking changes first. The most frequent code breaking changes you will likely encounter are probably the attributes vs blocks code syntax.
Read more >Release Notes | Internet Computer Home
Release Notes. What's new in DFX 0.12.1. DFX. fix: no longer shrinks custom canisters by default. Dependencies. Replica.
Read more >Fix list for IBM WebSphere Application Server traditional V9
The following is a complete listing of fixes for V9 with the most recent fix at the top. ... Web Services (for example:...
Read more >[Update] Known Issues Patch 0.12.1 — Sky
The team is working on identifying a solution as quickly as possible, but do not currently have an ETA for a fix. We...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@nandorojo thanks for your quick investigation and fix. I can confirm it is working!
Okay I think I found the line breaking it. Investigating further.