mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-23 20:23:08 +00:00
Merge pull request #3419 from xmo-odoo/patch-1
Link to inserting raw HTML document
This commit is contained in:
@@ -46,7 +46,7 @@ You can use mixed arrays with strings and JSX elements.
|
||||
<div>{['First ', <span>·</span>, ' Second']}</div>
|
||||
```
|
||||
|
||||
As a last resort, you always have the ability to [insert raw HTML](/react/docs/dom-differences.html).
|
||||
As a last resort, you always have the ability to [insert raw HTML](/react/tips/dangerously-set-inner-html.html).
|
||||
|
||||
```javascript
|
||||
<div dangerouslySetInnerHTML={{'{{'}}__html: 'First · Second'}} />
|
||||
|
||||
Reference in New Issue
Block a user