Twitxy Saved

Codecourse

Verified account This account is verified. Learn more

@teamcodecourse

The most practical screencasts for developers
codecourse.com Joined July 2009
101 Following 19K Followers 1.1K Posts

Latest posts 5

Codecourse Verified account @teamcodecourse
The checkbox grid's item size comes from one calculation: container width divided by grid items. Change either side of that equation and the whole layout adjusts. That's the part worth understanding before you touch resize events.
Codecourse Verified account @teamcodecourse
When a layout needs to react to resize, do you reach for a raw resize listener, ResizeObserver directly, or a wrapper like VueUse's useElementBounding? Each gets you the same width value with a different amount of boilerplate.