Re:Practical Front-End Architecture
by jaredgorski on Tuesday September 21, 2021 @12:28PM
(#28606721)
Using Tailwind alongside anything is pretty simple. It just generates stylesheets for you based on what you use. All you need to do is set up the build (so that it knows which style rules to include and which to purge) and then start using Tailwind classes in your markup.
As for “best practices”, I’d say there’s not many problems you’ll run into using something like Tailwind. Any configuration improvements you make probably won’t break anything, but you should still read the docs before you get started.
Only real difference in my stack is I'm using redux toolkit query to connect with a Rest API instead of GraphQL (GQL would be nice, but can't have it all).
I'm a HUGE fan of antd! I've been working with it since like 2017 and it blows my mind what I can build in a few hours.
I haven't used tailwind, but wanting to look into it. Anyone have practical advise for using tailwind alongside a component library like antd?