384963 (3) [Avatar] Offline
#1
Page 106
Shouldn't bootstrap styles be camelCase and not hyphenated since they are in JSX( className rather than class)?
Azat Mardan (41) [Avatar] Offline
#2
Hmmm. Styles (aka CSS properties) are cameCased in JSX, but Twitter Bootstrap classes not properties but class names. It's okay to use "-" in the class names with JSX:

Valid:

<p className="btn btn-primary btn-info">save</p>



or valid:

<p style={{backgroundColor: blue}}>save</p>


not valid


<p style={{background-color: blue}}>save</p>