Skip to content

Instantly share code, notes, and snippets.

const EventSystem = function () {
const _storage = {}
this.addListener = (event, func) => {
if (!_storage[event]) _storage[event] = []
_storage[event].push(func)
}
this.removeListener = (event, func) => {
@HeroProtagonist
HeroProtagonist / website_performance_resources.md
Last active October 25, 2019 03:30
List of useful links for improving website performance
  • 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
  • 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