Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Commit

Permalink
docs: remove --save flag (#2008)
Browse files Browse the repository at this point in the history
Summary:
--save is no longer needed.
Pull Request resolved: #2008

Differential Revision: D15239571

Pulled By: claudiopro

fbshipit-source-id: 78227dc4d3748ea64d769198a0dd9886f5e30b0c
  • Loading branch information
pvsmounish authored and facebook-github-bot committed May 7, 2019
1 parent 8514b57 commit f92d4b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/Overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ Draft.js was introduced at [React.js Conf](https://conf2016.reactjs.org/schedule
Draft.js is distributed via npm. It depends on React and React DOM which must also be installed.

```sh
npm install --save draft-js react react-dom
npm install draft-js react react-dom
# or alternately
yarn add draft-js react react-dom
```

Draft.js uses some modern ecmascript features which are not available to IE11 and not part of create-react-app's default babel config. If you're running into problems out-of-the-box try installing a shim or polyfill alongside Draft.

```sh
npm install --save draft-js react react-dom babel-polyfill
npm install draft-js react react-dom babel-polyfill
# or
yarn add draft-js react react-dom es6-shim
```
Expand Down

0 comments on commit f92d4b1

Please sign in to comment.