How to get HTML file from firebase storage bucket and display it on React Page


This Content is from Stack Overflow. Question asked by Matt102065

I have tried a few things such as dangerouslySetInnerHTML and nothing has worked. This is my latest attempt…


createMarkup(){ return {__html: this.state.article}; };
    <div dangerouslySetInnerHTML={this.createMarkup()} />

When this code is ran all I see on the screen is firebaseStorageLinkToHTML.
Any suggestions?


Check the Answers

This Question and Answer are collected from stackoverflow and tested by JTuto community, is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.

people found this article helpful. What about you?