I'm currently attempting to integrate react-star-rating into a project I'm working on. I've never used this module before. I'm currently using react v15 and webpack 1.13.0 as my build step. When I drop it into the project I get the following errors in my console:
Here is my code:
import React from 'react';
import {Link} from 'react-router';
import StarRating from 'react-star-rating';
function UserInfo (props) {
return (
<div className="UserInfo">
<div className="panel panel-default">
<div className="panel-heading">
<h3 className="panel-title">Kennet Postigo</h3>
</div>
<div className="panel-body">
<ul>
<li><i className="ion-android-globe"></i> Member Since: September 2015</li>
<li><i className="ion-podium"></i> Overall Rating: </li> <StarRating name="react-star-rating" totalStars={5} />
</ul>
</div>
</div>
</div>
);
}
export default UserInfo;
The component renders but the react-star-rating component doesn't work and all of my other components are broken/frozen. They don't react to user manipulations.
This is how the component renders but is broken/frozen.
My concern is whether this is a bug or npm dependency problem. Hope I've provided enough information.
Hello,
I'm currently attempting to integrate
react-star-rating
into a project I'm working on. I've never used this module before. I'm currently usingreact v15
andwebpack 1.13.0
as my build step. When I drop it into the project I get the following errors in my console:Here is my code:
The component renders but the
react-star-rating
component doesn't work and all of my other components are broken/frozen. They don't react to user manipulations.This is how the component renders but is broken/frozen.
My concern is whether this is a bug or npm dependency problem. Hope I've provided enough information.