[Community Feedback]: Styled Component's A double edged sword ⚔️. #3
Replies: 4 comments 7 replies
-
Absolutely, transitioning to a CSS library is a fantastic idea! 🚀 It can speed up development, maintain a consistent look, and simplify onboarding 🌟. |
Beta Was this translation helpful? Give feedback.
-
@Mr-Sunglasses thank you for starting this discussion! I'd like to put out few points:
CSS is one of the foundation for frontend development. Even if we move to a UI Library, we'll still need to have good understanding of CSS to work with that UI Library in case we encounter any bugs or want to customise our features. So with or without UI Library, we'll still need to write CSS.
Let me know your thoughts 💭 |
Beta Was this translation helpful? Give feedback.
-
@jatinkrmalik Hybrid solution might be good but not in long run as it may cause confusion. |
Beta Was this translation helpful? Give feedback.
-
As a new member joining this discussion, I've been following the conversation, would like to share my thoughts. I strongly advocate for the creation of custom UI components using Tailwind CSS. In the initial stages of our project, to expedite the development and ensure a consistent UI, I suggest we consider integrating a components library like shadcn/ui or NextUI. That I have already begun integrating shadcn/ui. These libraries offer a range of pre-built components that align well with Tailwind's philosophy and can serve as a solid foundation for our UI. Also using CSS Variables can get more scalability in our code. Shadcn/UI is already handy for doing that. Looking ahead, I'd suggest developing our custom UI library with Tailwind. This will allow us greater control over our UI design and ensure that our components are perfectly tailored to the specific needs and aesthetics of the Bloom. |
Beta Was this translation helpful? Give feedback.
-
🌱 Over the last few weeks, I've been actively taking feedback from the contributors on how we can improve the Bloom ecosystem to be more contributor-friendly and easy for everyone to get started with the codebase and get the contributors onboard as fast as we can.
📢 In all these feedback, one common issue that most of the people pointed out is the use of
Styled components
. We are usingStyled components
for styling. The main issue withStyled components
is that you need to write all the CSS by yourself as there are not any pre-written CSS classes, and most people do not like to write all the CSS. This will be a very big barrier in the faster development of the project as we need to write all the CSS by ourselves, and most of the contributors are also not very comfortable with it. As my personal view, I also suggest migrating to a CSS Library rather than using styled-components. We understand thatStyled components
provide us with a better and cleaner way to do styling, but they slow down the developer productivity and contributions extensively as a developer is spending more time in styling as compared to giving more time to the product business logic and enhancing the performance, which also reduces the development speed of the project.🗣️ We are open to discussions on this feedback. All the community members and contributors are invited to give your suggestions on this discussion.
4 votes ·
Beta Was this translation helpful? Give feedback.
All reactions