fix: use class primarily and skip className if preact/compat is imported preact/compat changes `className` to a synonym of `class`. Thus, we only need this setup when preact/compat isn't imported.
fix: use class primarily and skip className if preact/compat is imported preact/compat changes `className` to a synonym of `class`. Thus, we only need this setup when preact/compat isn't imported.