Anchored Menus and a Lesson in Scoping
Turns out `anchor-scope` is pretty darn useful for button/menu setups that will appear multiple times on the same page.
Turns out `anchor-scope` is pretty darn useful for button/menu setups that will appear multiple times on the same page.
Generics, combined with conditional types can make for an incredibly powerful combination. When you look at things the right way, you can ask very useful questions about your types that allow you to build the precise API you want.
What can we say except BOINNNGGG BOINNGGGGGG.
You might need to know this someday: you can style a div, put the div into SVG, then put the SVG in to CSS and use it as a repeating background.
To avoid page loading jank, there are things we can do to avoid content from shifting around, even if repainting is still necessary.
You can style anything you want on the entire page when any given details element is open or closed.
Putting a YouTube video inside a closed details element means it won’t load until that details element is opened. We can use that.
The Canary version of React has a special component for ViewTransitions. Does it help?
Senior engineers actually have a massive advantage with AI tools once they learn the basics. They know what questions to ask. They understand edge cases. A junior dev accepts the first output. A senior dev knows what’s missing.
This post introduces a middleware approach that allows efficient data refetching. The middleware enables the attachment of query keys and server functions, enhancing scalability and flexibility.
Frontend Masters donates to open source projects through thanks.dev and Open Collective, as well as donates to non-profits like The Last Mile, Annie Canons, and Vets Who Code.