Skip to content

Commit d1f32b3

Browse files
authored
Separate dev dependencies from application dependencies
react react-dom and prop-types shouldn't be dev dependencies
1 parent 795b782 commit d1f32b3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

frontend/encore/reactjs.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ Using React? Make sure you have React installed, along with the `babel-preset-re
55

66
.. code-block:: terminal
77
8-
$ yarn add --dev react react-dom prop-types babel-preset-react
8+
$ yarn add --dev babel-preset-react
9+
$ yarn add react react-dom prop-types
910
1011
Enable react in your ``webpack.config.js``:
1112

0 commit comments

Comments
 (0)