Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using TailwindCSS and Styled-Components in the same project? #1

Open
kbuika opened this issue Jan 1, 2023 · 2 comments
Open

Using TailwindCSS and Styled-Components in the same project? #1

kbuika opened this issue Jan 1, 2023 · 2 comments

Comments

@kbuika
Copy link

kbuika commented Jan 1, 2023

Hey @orama254 , I have noticed you are using both TailwindCSS and Styled-Components on the React application. I have been doing this a lot lately and honestly I usually feel a little sense of guilt :).

Two Questions:

  1. What is your "why?"
  2. Just wondering if you've ever done any benchmarks on how having the two in the same application affects performance.
@orama254
Copy link
Owner

orama254 commented Jan 1, 2023

Hello @kibuikaCodes, good observation.

to answer your questions:

Q1: For this particular POC, I was testing out both implementations to get familiar with how each can work independently depending on the needs of a particular team. This is more of creating a design system that suits different types of developers on a team. The css-in-js option was very straight forward. The tailwind option was a bit tedious when setting up(on the storybook side) but everything was ok later on.

Q2: I haven't done any performance benchmarks yet with both of them on a codebase, but it would be interesting to find out

@kbuika
Copy link
Author

kbuika commented Jan 1, 2023

Q1: For this particular POC, I was testing out both implementations to get familiar with how each can work independently depending on the needs of a particular team. This is more of creating a design system that suits different types of developers on a team. The css-in-js option was very straight forward. The tailwind option was a bit tedious when setting up(on the storybook side) but everything was ok later on.

Nice. Looking forward to the documentation. I am looking for some React-TS project to contribute to and a design system seems pretty cool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants