I'm a developer particularly focussed on accessibility and frontend web performance. Outside of work I'm interested in science, the environment, bouldering, and bikes.
Location
Manchester, United Kingdom
Work
Lead frontend engineer at Co-op in the United Kingdom
Lead Product Evangelist @Kentico, Founding partner @craftbrewingbiz. love to learn / teach web dev & software engineering, collecting vinyl records, mowing my lawn, craft πΊ
Rather than use inline styles like this:
β¦an alternative is to use x-cloak, like this:
x-cloakwill be removed once Alpine has run, so we can team it up with a CSS rule like this one:β¦to hide content until Alpine has had a chance to execute and for
x-showto have done its thing.Oooh, that's an awesome tip! Thanks @philw_ !
Although I haven't had a chance to use it yet, I'm very excited about Alpine v3 now that Spruce has been replaced with a built-in store.