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.
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.