@antfu.me is there an officially recommended way to support dedent-like functionality in shiki.style? hoping to add built-in dedent for code blocks without overriding shiki
Brandon McConnell
Brandon McConnell
@brandonmcconnell.com
Find me on 𝕏 @ https://x.com/branmcconnell Software Engineer ⚡️ Crafting some of the most popular Tailwind CSS plugins around. Bugs are my own. Dev-tooling & spec-reading fanatic 💻 #codeinpublic
48 followers13 following40 posts
@t0nyyates.bsky.social can i be added to your list? would love for people to be able to find me on x that way
@jamie.build Hi Jamie, I'm updating an app to Tailwind 4 and noticing with some of my dialog exit animations that the dialog briefly reappears after animating out. This only happens intermittently. Any chance you'd be willing to take a look at this with me?
@miriam.codes I was curious if you knew of any spec work being done on CSS nesting support inside of @keyframes, so we can do things like this: @keyframes { 0% { width: 0px; > span { opacity: 0%; } } 100% { width: 50px; > span { opacity: 100%; } } }
@chance.dev I'm curious how you'd approach this pattern if you were trying to strip out this useEffect. gist.github.com/brandonmccon... If a user is logged in, the root should redirect them to `/dashboard`. Otherwise, it redirects them to `/home`.
@danabra.mov the conversation is happening on X, but I was hoping you could clear something up for me? We’re having a discussion about Rules of Hooks, specifically using hooks inside of a render prop so the hooks are contained in the same render cycle, not passed between components
Here is the most relevant message from Joe Savona over there: x.com/en_js/status... The conversation has progressed past that point into a few tangential conversations and DMs, but I think addressing and discussing the concern there would be fitting, both for my package and that article I shared^
@danabra.mov the conversation is happening on X, but I was hoping you could clear something up for me? We’re having a discussion about Rules of Hooks, specifically using hooks inside of a render prop so the hooks are contained in the same render cycle, not passed between components
There’s one engineer from Meta, who chimed in, convinced that this violates Rules of Hooks, but based on my understanding of the documentation, I don’t think it should. This article’s implantation is nearly identical and makes the same non-violation claim: unsplash.com/blog/calling...
@paolo.ricciuti.me I saw you commenting on github.com/sveltejs/sve... and I'm having a similar issue. I'm wondering if you've learned anything new since that issue was resolved? I have a Svelte 5 app running with Svelte 4 syntax using the built-in compatibility mode.
@miriam.codes I just released a new Tailwind plugin that adds support for the CSS Anchor Positioning API. I've had a few people ask me about polyfill support, and it looks like you maintain the leading polyfill.
You are up to date.