AlpineJS Tabs with URL Fragments
Most Alpine tab implementations use internal x-data values to control tab state. I needed to have the tab selection as part of the URL, specifically, the URL hash or fragment. Therefore, someone can link directly to a tab and tab state is maintained on refresh or navigation. Handling this with