ClassName instead of class in react.js

Lori 2 Lori * rocks

Published:

As I've mentioned before in post Advantages of writing own code while using tutorials, I try to implement tutorials into my projects.

That's why, while doing responsive web design course on Coursera, I decided to apply new features into my react.js application - the code is available on my GitHub.
I wanted to implement some new Bootstrap components to my react project but with no luck. Result just didn't appear on page. I've checked terminal but everything was ok there. I've checked Bootstrap documentation carefully and I've watched tutorial for the second time. I just couldn't understand why new styles don't appear on the preview.

Finally, I've opened the console in the browser and there it was - warning message "Unknown DOM property class. Did you mean className?".

How simple is that? That's how I've got to understand why in react.js class is called className. You can read more about it on this react.js GitHub thread.

The result for now:

to-do list