className used for class names for CSS styles, as elsewhere.
You can give something unique classNamefor styling, just as you could give otherwise, idbut it does not mean anything else for another use className, which can never really be a direct equivalent id, because it classNamecan contain several class names, nor one of which should not be unique. (There are also good reasons not to use an identifier for styling , regardless of React).
- id React, , DOM, , , , ref getDOMNode() .