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

Minimize JS bundles size #37

Open
5 tasks
orbitlens opened this issue Nov 11, 2020 · 0 comments
Open
5 tasks

Minimize JS bundles size #37

orbitlens opened this issue Nov 11, 2020 · 0 comments

Comments

@orbitlens
Copy link
Contributor

Currently the size of the main js bundle exceeds 1MB. Possible optimizations:

  • Use preact instead of react
  • Drop MobX dep in favor of centrzliaed state managed with react hooks
  • Drop Trezor support (they don't want to fix things on their side)
  • Use pure js version of the argon2 module if possible – wasm build is pretty huge
  • Trim all unused code and cleanup data models
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

No branches or pull requests

2 participants
@orbitlens and others