Skip to main content

Installation

Getting started with React Strict DOM. The following guide will explain which packages to install.

How to install

To install React Strict DOM, run the following command in a React project:

npm install react-strict-dom

Web

For web support, please make sure the following peer dependencies are installed:

npm install react react-dom

Extracting styles to static CSS requires the following PostCSS plugin:

npm install --save-dev postcss-react-strict-dom

Native

For native support, please make sure the following peer dependencies are installed (note that using the new React Native architecture is required):

npm install react react-native