| ▲ | danabramov 4 hours ago | |||||||
For what it’s worth, the point of React is that you can just fix that Radio component to be an input (if that makes sense) and it’ll just be an input. React gives you boxes to put stuff into but you decide what to put into them. Then React ensures that you can change what’s in those boxes without breaking anything. That’s the power of component abstraction. | ||||||||
| ▲ | jagged-chisel 2 hours ago | parent | next [-] | |||||||
> That’s the power of component abstraction. Yes. But React isn’t the only way to do components. Unfortunately, to the inexperienced, it is. | ||||||||
| ||||||||
| ▲ | fsniper 2 hours ago | parent | prev | next [-] | |||||||
So is a span or div element? What am I missing here? | ||||||||
| ||||||||
| ▲ | 4 hours ago | parent | prev [-] | |||||||
| [deleted] | ||||||||