Installing Slate
yarn add slate slate-reactyarn add react react-dom// Import React dependencies.
import React, { useState } from 'react'
// Import the Slate editor factory.
import { createEditor } from 'slate'
// Import the Slate components and React plugin.
import { Slate, Editable, withReact } from 'slate-react'// Define our app...
const App = () => {
return null
}Last updated