question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Reduce package size

See original GitHub issue

This is a non-urgent issue, but figured it would be an appropriate time to bring it up bc of the new incoming design system.

image

The aragon/ui bundle size is really big, seems like there should be some easy fixes to minimize this.

For comparison, react-bootstrap is 13k, gzipped 4.1k.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:3
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
bpierrecommented, Apr 22, 2020

Hi @ECWireless, yes that would be helpful!

DropDown has been updated indeed, but it would be nice to have ContextMenu using Popover. I opened this draft some time ago, it might be useful to have a look: https://github.com/aragon/aragon-ui/pull/652

I remember having positioning issues in this PR, that would have required to modify Popover. Now that Popper.js 2 is out, we might also want to move to this version (only Popover is using it), which might help to port ContextMenu to Popover.

Let me know if you have any question!

1reaction
ECWirelesscommented, Apr 21, 2020

Planning on working on…

react-onclickout should be removed from DropDown and ContextMenu, and replaced by Popover.js.

… if it hasn’t already been started by someone else (although it looks like DropDown has already been updated).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Reducing Packaged Game Size - Unreal Engine Documentation
The easiest and quickest way to reduce your APK package size is to tell UE4 to compress the APK packages during the packing...
Read more >
Can you reduce your package size without damaging sales?
Reducing the package size is a common and increasingly frequent practice. However, little published work has examined 'downsizing' as part of a pricing ......
Read more >
5 Methods to Reduce JavaScript Bundle Size - Bits and Pieces
4. Compressing Bundles. If your application bundle size increases and affects performance, you can compress them to reduce the size. Gzip and ...
Read more >
How do I reduce package size? : r/unrealengine - Reddit
How do I reduce package size? ok so I have already performed everything that I used to do in my android ...
Read more >
JavaScript SDK “Package Size is Massive” - So we reduced it ...
After all, new features == bigger package - usually. Refactoring to reduce bundle size and support future feature development was not the only ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found