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

add hooks #164

Closed
mercs600 opened this issue Oct 19, 2021 · 0 comments · Fixed by #185
Closed

add hooks #164

mercs600 opened this issue Oct 19, 2021 · 0 comments · Fixed by #185
Assignees
Labels

Comments

@mercs600
Copy link
Contributor

now we support callbacks for :
app.$typo3.i18n.onLocaleChange(store.state.typo3.locale, localeCode)
app.$typo3.i18n.beforeLocaleChange(store.state.typo3.locale, localeCode)

we should replace them to hooks and add new - for example before redirect on SSR side

@mercs600 mercs600 self-assigned this Oct 19, 2021
mercs600 added a commit that referenced this issue Oct 22, 2021
BREAKING CHANGE: callbacks onLocaleChange and beforeLocaleChange was replaced by hooks
mercs600 added a commit that referenced this issue Oct 22, 2021
BREAKING CHANGE: callbacks onLocaleChange and beforeLocaleChange was replaced by hooks
mercs600 added a commit that referenced this issue Oct 29, 2021
BREAKING CHANGE: callbacks onLocaleChange and beforeLocaleChange was replaced by hooks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant