React framework maturity, early container queries, WASM adoption, and monoliths. I’ll take all four, please. Not feeling like a particularly front-end-y? Jay says:
Interestingly, the biggest developments in the front-end are unlikely to be traditionally front-end concerns. Back in our 2019 forecast, we noted that the role of the front-end developer was increasingly shifting towards ‘full-stack’, and this has borne out to be true. Even the evolution of our frameworks and tools suggests this, with an increased focus on data-fetching, concurrency, security and scalability.
If I’m allowed to predict, and thus manifest, improvements in the web platform in 2021, I’d like to predict HTML’s inert
attribute shipping without a flag in all three browser engines.
Svelte is going to explode this year too!
“Inert” sounds awful to me — a way to prevent selecting or copying?
Mostly to prevent focus, as I understand it.
Modals/dialogs require “focus traps” for accessibility and they are very hard to pull off. The
inert
attribute would allow us to put that on the body when a modal is open, and reverse it (I think?) on the modal itself, creating a perfect focus trap for minimal effort. Huge accessibility win.