diff --git a/docs/jsx.md b/docs/jsx.md index a299c4d4..9ce6163c 100644 --- a/docs/jsx.md +++ b/docs/jsx.md @@ -45,8 +45,8 @@ var link = {greeting + "!"} Components can be used by using a convention of uppercasing the first letter of the component name: ```jsx -m.mount(document.body, ) -// equivalent to m.mount(document.body, m(MyComponent)) +m.render(document.body, ) +// equivalent to m.render(document.body, m(MyComponent)) ``` ---