react-highcharts: ReferenceError: requestAnimationFrame is not defined

Where exactly do you put

if(!Highcharts){
  global.highcharts = require('react-highcharts/src/fakeHighcharts.js');
}

for node rendering? I have tried several different ways but I am not having any luck. Is there a complete example of this? Thanks in advanced.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 18 (7 by maintainers)

Most upvoted comments

Should be fixed in 8.4.1, feel free to reopen if not