Skip to content

Provide Store as Environment Value #44

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

Merged
merged 4 commits into from
May 20, 2020

Conversation

StevenLambion
Copy link
Owner

This PR replaces the store environment object wrapper with a type-erased environment value. This reduces the number of references created within the SwiftUI view hierarchy, and allows a single provideStore to be used by views that access the application state by a protocol type instead of a concrete type.

@codecov-commenter
Copy link

codecov-commenter commented May 20, 2020

Codecov Report

Merging #44 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #44   +/-   ##
=======================================
  Coverage   77.57%   77.57%           
=======================================
  Files          20       20           
  Lines         446      446           
=======================================
  Hits          346      346           
  Misses        100      100           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update eb06ddf...0a67bb2. Read the comment docs.

@StevenLambion StevenLambion merged commit 18372f8 into master May 20, 2020
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.

2 participants