- webpage test - test site on remote devices
- lighthouse - test site locally in chrome or using cli
- web.dev - resources from google about web best practices
- Performance Budgets - Enforce that performance does not degrade with code changes
- Addy Osmani's blog - chrome developer focused on performance
- The Chrome User Experience Report CrUX - user data about site performance reported by chrome
- Chrome local overrides - change website in chrome and preserve during refreshes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const EventSystem = function () { | |
const _storage = {} | |
this.addListener = (event, func) => { | |
if (!_storage[event]) _storage[event] = [] | |
_storage[event].push(func) | |
} | |
this.removeListener = (event, func) => { |