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

@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?

I'm happy to open an issue for this as well, except there's a fair chance I'm just doing something wrong. 😅 I really appreciate you maintaining such a great plugin. I know a lot of work goes into that. I'm happy to compensate you for any time spent on this if you like.

@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

View full thread

@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...

unsplash.comCalling React Hooks Conditionally/Dynamically Using Render PropsIf you've used hooks at all, you'll know that one limitation is not being able to conditionally call them in the render body of your component. So what can we do if we really need to call a hook condi...

However, there is one specific part of my app where, every time that component renders, it throws the same error. None of these errors occurred when running Svelte 4, as this is a core part of our app, and upgrading to Svelte 5 following the Svelte 5 migration guide immediately caused this error.

For context, I am not using `$effect` anywhere on in my app. Turning off my excluded directories when searching my codebase, the only places `$effect` appears are in root.svelte, the file svelte generates at `[ROOT]/.svelte-kit/generated/root.svelte`

I was wondering if… – you would consider it stable enough to include – you have an ETA on the remaining features – there's a vite/postcss plugin that can easily wrap plugins like this to better support different environments – there's anything I can do to support development 🙂

You are up to date.