activist
activist copied to clipboard
Remove Tailwind based component hiding in favor of TS breakpoint v-if conditional rendering
Terms
- [X] I have searched all open bug reports
- [X] I agree to follow activist's Code of Conduct
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 🚀