coffeeandwork

Results 3 issues of coffeeandwork

We are a lot of event listeners to pages via the `on()` function: https://github.com/beercss/beercss/blob/acd6fe4e5aefd7c24fe4df30aa12e34f9ca92f90/src/cdn/beer.ts#L60 This works well for small pages. However, for larger pages, we could reduce memory usage by...

enhancement

To be perfectly honest, I am not sure how useful this is, but I thought I put this out there in case there are benefits that I am no aware...

enhancement

String constants may have performance benefits. Suppose we have the following function: ```javascript const sayHello = (name) => { return "Hello " + name + "!"; } ``` Each time...

enhancement