Skip to content

Conversation

@stephencelis
Copy link
Member

We noticed this awhile back but must have forgotten about it.

@stephencelis stephencelis requested a review from mbrandonw April 20, 2021 13:43
_ store: Store<State?, Action>,
then ifContent: @escaping (Store<State, Action>) -> IfContent,
@ViewBuilder then ifContent: @escaping (Store<State, Action>) -> IfContent,
else elseContent: @escaping @autoclosure () -> ElseContent
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also wonder if this should be changed to:

Suggested change
else elseContent: @escaping @autoclosure () -> ElseContent
@ViewBuilder else elseContent: @escaping () -> ElseContent

Would be a bigger change and require deprecations, though.

@stephencelis stephencelis merged commit c53a961 into main Apr 20, 2021
@stephencelis stephencelis deleted the view-builder branch April 20, 2021 15:10
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.

3 participants