Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: optimise cpu usage 🚀 #32

Merged
merged 2 commits into from
May 9, 2020
Merged

fix: optimise cpu usage 🚀 #32

merged 2 commits into from
May 9, 2020

Conversation

gorhom
Copy link
Owner

@gorhom gorhom commented May 8, 2020

@gorhom gorhom linked an issue May 8, 2020 that may be closed by this pull request
@gorhom
Copy link
Owner Author

gorhom commented May 9, 2020

hi @muxbert, could you test this fix using this

yarn add ssh://git@github.gorhom/react-native-animated-tabbar#fix/optimise-cpu-usage

thanks

@muxbert
Copy link

muxbert commented May 9, 2020

I did this to install it.
yarn add gorhom/react-native-animated-tabbar#pull/32/head

Now it's a lot better, but I tried to intentionally break it by switching the tabs then it causes the same issue. So if a user liked the animation and kept switching between tabs the same thing will happen. Luckily in real devices, this doesn't seem to happen the same as in simulator. Anyway, for now, this is great. Thanks a lot for your hard efforts.

@gorhom
Copy link
Owner Author

gorhom commented May 9, 2020

glad to hear that , thanks for reporting and testing 👍

@gorhom gorhom merged commit 69a15b8 into master May 9, 2020
@gorhom gorhom deleted the fix/optimise-cpu-usage branch May 9, 2020 14:44
gorhom added a commit that referenced this pull request May 9, 2020
* master:
  fix: optimise cpu usage 🚀 (#32)
  chore: improve types by (@nandorojo) (#34)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Expensive iOS CPU usage
2 participants