activist icon indicating copy to clipboard operation
activist copied to clipboard

Remove Tailwind based component hiding in favor of TS breakpoint v-if conditional rendering

Open andrewtavis opened this issue 1 year ago • 0 comments

Terms

Behavior

Original issue:

Something that's come up is that it seems that SidebarLeft and MenuMobileNavigationDropdown are running concurrently regardless of them being hidden at compliment breakpoints in the sidebar layout.

Further context:

The reason that this is happening is that just because the component is hidden via CSS doesn't mean that it's not loaded along with it's TS. What needs to happen is we need to switch the instance of hidden md:block and the like to conditional rendering based on breakpoints in breakpoints.ts. With this, these components will then not be rendered at all, and we'll get dramatic speed increases for the platform 🚀

andrewtavis avatar May 02 '24 09:05 andrewtavis