morrisjs / morris.js

Pretty time-series line graphs
http://morrisjs.github.com/morris.js/
6.91k stars 1.23k forks source link

When use Morris with React, the page keep automatically refreshing #743

Open markguo40 opened 6 years ago

markguo40 commented 6 years ago

I am trying to use Morris in React. My backend is Django. for some reasons, so long as I do import Morris from 'morris'; and open browser to localhost, the page keep automatically refreshing. var Morris = require('morris'); has the same problem. The check from npm start does not throw any error.