Hacker News new | ask | show | jobs
by cjonas 1726 days ago
This article is great timing. I'm working on a "next gen" FE app and it validates most my decisions.

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?

1 comments

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.