Are you sure using show actually helps with the size of the compiled JavaScript code? You shouldn't need to do that. Thanks to tree shaking and dead code elimination, only what you use will show up in the compiled output.
You use show to have tight control over what you import that way it's obvious what things are coming from what libraries. If you import a lot of libraries without using show, it's hard to tell what's coming from where, which can be a challenge with very large codebases.
You can also use show if you import two different libraries that have functions or classes that use the same name. By using show, you can specify which one you want.