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

[iOS] move logger into context to survive rerenders #110

Merged
merged 1 commit into from
Dec 14, 2022

Conversation

hborawski
Copy link
Contributor

@hborawski hborawski commented Dec 14, 2022

SwiftUI can rerender at any time, in some cases, presenting views over Player caused a SwiftUI rerender, and it would construct a new logger, and plugins would not be logging anymore

Version

Published prerelease version: 0.4.0-next.1

Changelog

Release Notes

Sync Latest Player Code (#109)

Syncs to latest version and bumps tapable-ts to latest version.


🚀 Enhancement

🐛 Bug Fix

Authors: 5

@hborawski hborawski added the patch Increment the patch version when merged label Dec 14, 2022
@codecov
Copy link

codecov bot commented Dec 14, 2022

Codecov Report

Base: 78.57% // Head: 79.07% // Increases project coverage by +0.50% 🎉

Coverage data is based on head (3efa2e6) compared to base (b51603b).
Patch coverage: 80.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #110      +/-   ##
==========================================
+ Coverage   78.57%   79.07%   +0.50%     
==========================================
  Files         130      132       +2     
  Lines        4504     4655     +151     
  Branches     1114     1164      +50     
==========================================
+ Hits         3539     3681     +142     
  Misses        688      688              
- Partials      277      286       +9     
Impacted Files Coverage Δ
core/player/src/binding/resolver.ts 80.95% <ø> (ø)
core/player/src/data/model.ts 87.80% <ø> (ø)
core/player/src/expressions/evaluator.ts 80.12% <ø> (ø)
core/player/src/expressions/types.ts 100.00% <ø> (ø)
plugins/auto-scroll/react/src/hooks.tsx 100.00% <ø> (ø)
core/player/src/expressions/utils.ts 46.15% <47.36%> (+46.15%) ⬆️
core/player/src/expressions/parser.ts 79.75% <86.66%> (+0.19%) ⬆️
plugins/check-path/core/src/index.ts 92.95% <87.50%> (+0.92%) ⬆️
core/player/src/player.ts 79.10% <88.88%> (+0.80%) ⬆️
core/player/src/controllers/data.ts 97.36% <100.00%> (+0.03%) ⬆️
... and 14 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Increment the patch version when merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant