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 a support of a weak instance with the identity. #452

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ryu1sazae
Copy link

@ryu1sazae ryu1sazae commented Feb 4, 2023

Sometimes, we want to choose whether to share same ViewModel among different instances of View as long as the ViewModel's instance has been referenced somewhere. Like that, it is better to be able to choose without adding another definition for some situations I suppose.

We can use weak constructor I just added in this PR for such purpose.

@ryu1sazae ryu1sazae force-pushed the ryu1sazae/support-shared-identifier branch from 3a5fdd1 to 8375428 Compare February 5, 2023 00:31
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