Tag: JavaScript

How to Fix Webpack Dynamic Import with Wrong Path

November 20, 2020 · 1 min read
When using the dynamic import for code splitting you'll need to specify the publicPath option to let Webpack know where your assets are.

TLDR How to prevent layout shifts from image loading in 2021

November 2, 2020 · 1 min read
Preventing layout shifts when loading images has never been easier.

How to test a class method with Jest

September 1, 2020 · 1 min read
Shot explanation of how to test a class method with Jest.
← Prev
Page 2 of 9
Next →