Skip to content

Conversation

ShreckYe
Copy link
Member

@ShreckYe ShreckYe commented Jan 7, 2025

… try adding back some code related to `viewModelStoreOwner`
The added code in the "common" module is temporarily commented out to see whether it's necessary. Under such a condition, an exception is thrown with the message "No ViewModelStoreOwner was provided via LocalViewModelStoreOwner" on JS DOM in an internal app but not in the demo.
…he necessary dependencies, and update the demo `Material3` composable to use a `Material3ViewModel` to demonstrate ViewModels

An exception is thrown with the message "ViewModelStore should be set before setGraph call" on JS DOM in an internal app when navigating back.
…see whether there is more ViewModel-related code to copy and adapt here, and merge its changes since last time
… also related to animations and transitions, and navigation is manually tested to work without it
…le since the "navigation" module depends on the "lifecycle-viewmodel" via api now
Copy link

sonarqubecloud bot commented Jan 8, 2025

@ShreckYe ShreckYe merged commit 4d1c12a into main Jan 8, 2025
7 checks passed
@ShreckYe ShreckYe deleted the save-viewmodel-in-navigation-on-js-dom branch January 8, 2025 02:27
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