macropusgiganteus / scrappy-web

Project for Technical Test
0 stars 0 forks source link

[Question] Why not use a UI component library? #9

Open malparty opened 3 weeks ago

malparty commented 3 weeks ago

Issue

The UI has a lot of inconsistency or minor issues (see below).

Could you share more about the decision to only use Tailwind (without a UI component library like DaisyUI or similar)? If you would have to redo this project, what would you change regarding the UI implementation?

Here is a pick of some UI issues:

macropusgiganteus commented 3 weeks ago

Thank you for your question.

I'm aware that the UI has a lot of inconsistency and willing to improve it.

Q: Why not use a UI component library A: At the beginning of the project, I thought it would be faster to use plain tailwinds. So, didn't think of the UI library. I tried grouping the button style in app/assets/stylesheets/application.tailwind.css but it clearly wasn't enough to make the code consistent.

Q: If you would have to redo this project, what would you change regarding the UI implementation? A: I would use the UI library for faster development and code consistency and also group repeated styles into shared classes.