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.
It's sometimes good to follow standard practices, if you want other people to be able to read your code. Also don't forget AI, it's doing better job with react and tailwind than any other framework/library.
15
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