You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While styled-components is great, I would like to argue that library like this would be much better off just by manipulating inline styles directly.
Reasoning:
There are many css-in-js libs and styled-components is just one of them. The majority of the potential user base cannot use this library because of this dependency. Basically just people who already use styled-components are willing to accept this as dependency.
Styled-components seems to add quite little value in this context as you basically just need to manipulate the size and shape of the object (as far as I understand). No reason why this couldn't be done inline.
Of course I can always fork and remove the dependency for myself, but I just wanted to put this here in case this was not very intentional choice.
ps. Otherwise the lib seems really nice and it solves exactly the issue I'm facing right now.
The text was updated successfully, but these errors were encountered:
While styled-components is great, I would like to argue that library like this would be much better off just by manipulating inline styles directly.
Reasoning:
Of course I can always fork and remove the dependency for myself, but I just wanted to put this here in case this was not very intentional choice.
ps. Otherwise the lib seems really nice and it solves exactly the issue I'm facing right now.
The text was updated successfully, but these errors were encountered: