Im trying to fetch the html markup from a response and trying to override with current page to do some form submissions.
When i use document.write in chrome.. its fetching and overriding current html markup. But IE is showing blank screen, looks like document.write is not supported by IE.
 fetch('http://www.mocky.io/v2/5b2948502f00005b00f56127')
    .then(function(response) {
      return response.text();
    })
    .then(function(myJson) {
  document.write(myJson)
   })
Could you please provide me a fix or a polyfill to be installed in our react application
