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

Rename cases var accessor to case for ScopeSwitchable State #3

Merged
merged 1 commit into from
Feb 14, 2024

Conversation

scogeo
Copy link
Member

@scogeo scogeo commented Feb 14, 2024

This is a breaking change.

This change brings TCA Composer's implementation of switching over enumerated State in alignment with the same syntax as the 1.8.0 release of TCA by renaming theStore accessor cases to case.

This PR does not make use of other features from the TCA 1.8.0 release, but end users can now write View code in the same manner as if they were using the new enumerated Reducer feature from 1.8.0.

@scogeo scogeo merged commit 1c8fce6 into main Feb 14, 2024
2 checks passed
@scogeo scogeo deleted the scope-switchable-update branch February 14, 2024 22:54
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.

1 participant