From 27db5e6c454e0dcaea8e4ebd19d543bdbf7f3504 Mon Sep 17 00:00:00 2001 From: David Calhoun Date: Mon, 27 Jan 2020 15:21:08 -0500 Subject: [PATCH] docs: walkthroughs: make implicit React dependencies explicit (#3402) --- docs/walkthroughs/01-installing-slate.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/walkthroughs/01-installing-slate.md b/docs/walkthroughs/01-installing-slate.md index e7345e13e..5ef139a31 100644 --- a/docs/walkthroughs/01-installing-slate.md +++ b/docs/walkthroughs/01-installing-slate.md @@ -17,6 +17,9 @@ _Note, if you'd rather use a pre-bundled version of Slate, you can `yarn add sla Once you've installed Slate, you'll need to import it. ```js +// Import React dependencies. +import React, { useEffect, useMemo, useState } from "react"; + // Import the Slate editor factory. import { createEditor } from 'slate'