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

Export the JS StateManager instance #1894

Merged
merged 1 commit into from
Dec 20, 2024
Merged

Conversation

exyi
Copy link
Member

@exyi exyi commented Dec 15, 2024

Most notably, this makes it possible to manually dispatch a ko.observable update using

    dotvvm.rootStateManager.doUpdateNow()

The patch should be fully backwards compatible and I'd consider releasing it as a 4.3 patch, as it will allow us to gradually migrate parts of BP and fix some of its ko.observable related bugs sooner.

Most notably, this makes it possible to manually dispatch
a ko.observable update using

    dotvvm.rootStateManager.doUpdateNow()
@exyi exyi requested a review from tomasherceg December 15, 2024 22:12
@tomasherceg tomasherceg added this to the Version 5.0 milestone Dec 20, 2024
@tomasherceg tomasherceg merged commit 738aaab into main Dec 20, 2024
14 of 19 checks passed
@tomasherceg tomasherceg deleted the export-js-state-manager branch December 20, 2024 13:21
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