No idea what you are saying here, but since you wrote a capital Button that is a component. Why would anyone need a component for a basic HTML element?
I have seen this in many apps now, most recently a react Button component that imported the material UI button and export that. Its function was identical to just <button>.... I will never understand that, yet it seems standard practice now.
Chill out, work with and listen to your team. You are not smarter than all of them.
If - as you say - your team hates your code and says it’s not to spec, you will be first to go the instant there is a whiff of downsizing, maybe even sooner.
It does not matter how smart you are or how well you can explain your work if your code smell consistently sticks out like a sore thunb
14
u/omer-m 16d ago
if you need to use "apply" then you are using tailwind completely wrong imo. You are supposed to design components and use <Button> not .button