DEV Community

Cover image for Zustand vs Redux: Choosing the Right State Management for React
PEAKIQ
PEAKIQ

Posted on • Originally published at peakiq.in

Zustand vs Redux: Choosing the Right State Management for React

Originally published on PEAKIQ


Getting started update

You've decided to give MDXEditor a try? That's great, because it does not take a lot of effort. While powerful, the component needs little to boot. In this article, we will go through the necessary steps to reach the "Hello world" state.

Installation

To use MDXEditor in your project, install the @mdxeditor/editor NPM package in your React project:

npm install --save @mdxeditor/editor

Enter fullscreen mode Exit fullscreen mode

Afterwards, you can import the React component and use it in your project. You need to include the CSS file as well, either as an import in React or in your project stylesheet. Follow the instructions below for your framework of choice.

import { MDXEditor } from '@mdxeditor/editor'
import '@mdxeditor/editor/style.css'
Enter fullscreen mode Exit fullscreen mode

Top comments (0)