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

Re-export unchanged datastore classes instead of wrapping them #6456

Merged
merged 1 commit into from
Dec 27, 2024

Conversation

absidue
Copy link
Member

@absidue absidue commented Dec 26, 2024

Re-export unchanged datastore classes instead of wrapping them

Pull Request Type

  • Other

Description

Shaves 1902 bytes off the web build and slightly improves performance in that build as the stores will directly interact with the base datastore classes whenever possible, this mostly benefits the FreeTubeAndroid fork but also helps us, as it saves some work for developers making changes to the datastores.

We still need all the classes in the Electron file as those make IPC calls to the main process which then calls the base handlers.

Desktop

  • OS: Windows
  • OS Version: 10
  • FreeTube version: 7e965ea

@github-actions github-actions bot added the PR: waiting for review For PRs that are complete, tested, and ready for review label Dec 26, 2024
@FreeTubeBot FreeTubeBot enabled auto-merge (squash) December 26, 2024 14:16
@FreeTubeBot FreeTubeBot merged commit 98b7575 into FreeTubeApp:development Dec 27, 2024
5 checks passed
@github-actions github-actions bot removed the PR: waiting for review For PRs that are complete, tested, and ready for review label Dec 27, 2024
@absidue absidue deleted the unchanged-datastores branch December 27, 2024 15:39
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.

5 participants