From d58f37b1c2133591c249aa96c470a84490076a60 Mon Sep 17 00:00:00 2001 From: Lauren Date: Wed, 23 Aug 2017 02:56:55 +0300 Subject: [PATCH] Add a missing dependency which was causing errors (#1017) Because `src/serializers/html.js` depends on `ReactDOMServer.renderToStaticMarkup`, which is no longer bundled with ReactDOM, ReactDOMServer is needed to avoid errors when the HTML serializer is used. --- docs/walkthroughs/using-the-bundled-source.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/walkthroughs/using-the-bundled-source.md b/docs/walkthroughs/using-the-bundled-source.md index 918a9e47e..5769c3847 100644 --- a/docs/walkthroughs/using-the-bundled-source.md +++ b/docs/walkthroughs/using-the-bundled-source.md @@ -23,11 +23,12 @@ node_modules/ A minified version called `slate.min.js` is also included for convenience. -Before you can add `slate.js` to your page, you need to bring your own copy of `immutable`, `react` and `react-dom`, like so: +Before you can add `slate.js` to your page, you need to bring your own copy of `immutable`, `react`, `react-dom` and `react-dom-server`, like so: ```html + ``` @@ -44,6 +45,7 @@ To make things easier, for quick prototyping, you can also use the [`unpkg.com`] ```html + ```