In React, I am encountering an issue where the css class I want to set on the div returned from render is being removed. This problem even persists when I try nesting another div inside the first one and setting the class on the enclosed div.
Has anyone encountered this before? Here is an example of my code:
var NightComponent = React.createClass({ render: function() { return test ; } });
Does anyone know how to resolve this issue in React?