Answer the question
In order to leave comments, you need to log in
How to use jss with content that comes from the server?
How to use jss if we get article texts with markup from the server?
Answer the question
In order to leave comments, you need to log in
From the React documentation:
function createMarkup() {
return {__html: 'First · Second'};
}
function MyComponent() {
return <div dangerouslySetInnerHTML={createMarkup()} />;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question