diff --git a/content/home/examples/a-component-using-external-plugins.js b/content/home/examples/a-component-using-external-plugins.js index 25ad6f55..09868cfb 100644 --- a/content/home/examples/a-component-using-external-plugins.js +++ b/content/home/examples/a-component-using-external-plugins.js @@ -36,6 +36,7 @@ class MarkdownEditor extends React.Component { } } -// let mountNode = document.querySelector('#markdown') - -ReactDOM.render(, mountNode); \ No newline at end of file +ReactDOM.render( + , + document.getElementById('markdown-example') +); diff --git a/content/home/examples/a-component-using-external-plugins.md b/content/home/examples/a-component-using-external-plugins.md index f0fc29ec..a8c35bbd 100644 --- a/content/home/examples/a-component-using-external-plugins.md +++ b/content/home/examples/a-component-using-external-plugins.md @@ -1,6 +1,7 @@ --- title: A Component Using External Plugins order: 3 +domid: markdown-example --- React is flexible and provides hooks that allow you to interface with other libraries and frameworks. This example uses **remarkable**, an external Markdown library, to convert the `