3 ms·
Because it's a waste of bandwidth if they're not enforced at runtime, the same reason why minification exists.
by wildpeaks 7mo ago
Because it's a waste of bandwidth if they're not enforced at runtime, the same reason why minification exists.
- ZiiS 7mo agoBoth not minifying and including unenforced type hints consumes a little bandwidth though this can be largely offset by compression. This is an engineering trade off against the complexity of getting source maps working reliably for debugging and alerting. If I am shipping a video player or an internal company dashboard how much of my time is that bandwidth worth?