Stop Arguing About Tailwind Class Order - Sort Them Automatically (Free Tool)
A new free tool called Tailwind CSS Class Sorter automates the sorting of Tailwind CSS classes to streamline code reviews. This tool addresses common issues with manual sorting, such as inconsistency and time consumption, by providing instant sorted output for class strings, HTML snippets, and JSX/TSX. It features real-time sorting, duplicate removal, and custom prefix support to enhance developer efficiency.
- ▪The Tailwind CSS Class Sorter is a free tool that sorts Tailwind classes automatically.
- ▪It offers three input modes: class string, HTML snippet, and JSX/TSX.
- ▪The tool helps eliminate inconsistencies and distractions during code reviews by automating class sorting.
Opening excerpt (first ~120 words) tap to expand
try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 3944066) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } Muhammad Awais Posted on Jun 3 • Originally published at webtoolshub.online Stop Arguing About Tailwind Class Order - Sort Them Automatically (Free Tool) #react #tailwindcss #webdev #javascript You've seen it in code reviews.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).