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

Dose it support BSDiff incremental update instead of full update #59

Open
SnowingFox opened this issue Jan 20, 2025 · 8 comments
Open
Labels
enhancement New feature or request

Comments

@SnowingFox
Copy link

Dose it support BSDiff incremental update instead of full update

@gronxb
Copy link
Owner

gronxb commented Jan 20, 2025

Details need more thought, but updating just the changed parts instead of everything sounds like a good idea. I’ll look into it later. Thanks for the suggestion!

@gronxb gronxb added the enhancement New feature or request label Jan 20, 2025
@SnowingFox
Copy link
Author

@gronxb look this https://github.com/reactnativecn/react-native-pushy, this package support incremental update

@regalstreak
Copy link

@dougg0k
Copy link

dougg0k commented Jan 27, 2025

If I am not mistaken, it might be similar to the GIT server implementation of that repo I told that contained the simple version. @gronxb

The mobile application will pull only the changes from the Git repository instead of downloading the entire bundle file from a server. This reduces data usage and improves update speed.

Should be an option, not enforced.

@gronxb
Copy link
Owner

gronxb commented Jan 27, 2025

I don’t have time to look into this right now. I’ll add it to the backlog and get to it later.

@dougg0k
Copy link

dougg0k commented Jan 30, 2025

Another new way to share functionality. https://www.youtube.com/watch?v=Lp-5wSsd5Do

Maybe it could be simplified and have a zephyr cloud alternative. While supporting rspack.

Rather than just having it loaded by the remote, have it downloaded by the remote and be well managed to not conflict with anything nor be there (cached) if not used or outdated. But also be sure to re-download if needed if the user decide to clear cache.

@gronxb
Copy link
Owner

gronxb commented Jan 31, 2025

Yes, Re.Pack is already included in the roadmap for Hot Updater. Since Re.Pack supports code splitting, if I support Re.Pack, i will also consider implementing code push for individual chunks rather than a single bundled update.

@dougg0k
Copy link

dougg0k commented Jan 31, 2025

But in this case seems to be module federation. https://re-pack.dev/docs/module-federation

Module Federation is similar to Code Splitting, but offers more control, flexibility and scalability.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants