Use Inkwell with React
Wrap the editor in a component with refs and effects.
Wrap the editor in a component with refs and effects. Follow the steps below — it takes just a few minutes.
Before you begin#
- Node.js 18 or newer
- A project that uses npm, pnpm or yarn
Steps#
Tip
Avoid re-creating the editor on every render — keep options stable.
Still stuck?#
Search existing GitHub issues first. When you open a new one, include your Inkwell version, browser and a minimal example on CodeSandbox.
Was this article helpful?
Thanks for letting us know!