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

Mount dependency string modal only when it's opened #1192

Merged
merged 1 commit into from
Jan 30, 2024

Conversation

anttimaki
Copy link
Collaborator

The modal rerenders when ever the local mod list updates. This is unnecessary since the list can be changed from e.g. LocalModList, while the modal can be opened only from the settings view.

Normally this wouldn't be much of a problem, but currently the method that's used to get the list of local mods does some extra stuff and is slow.

The modal rerenders when ever the local mod list updates. This is
unnecessary since the list can be changed from e.g. LocalModList, while
the modal can be opened only from the settings view.

Normally this wouldn't be much of a problem, but currently the method
that's used to get the list of local mods does some extra stuff and is
slow.
Copy link
Collaborator

@MythicManiac MythicManiac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@MythicManiac MythicManiac merged commit 69bb899 into develop Jan 30, 2024
4 checks passed
@MythicManiac MythicManiac deleted the dependency-string-performance branch January 30, 2024 18:56
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