iansinnott / react-string-replace

A simple way to safely do string replacement with React components
MIT License
652 stars 56 forks source link

Do not use individual lodash packages #26

Closed geminiyellow closed 7 years ago

geminiyellow commented 7 years ago

https://github.com/iansinnott/react-string-replace/blob/master/package.json#L34-L37

  "dependencies": {
    "lodash.escaperegexp": "^4.1.1",
    "lodash.flatten": "^4.2.0",
    "lodash.isregexp": "^4.0.1",
    "lodash.isstring": "^4.0.1"
  },

Consider using:

https://github.com/lodash/babel-plugin-lodash (for package dev) https://github.com/lodash/lodash-webpack-plugin (for app development)

Per method packages have been discontinued, https://github.com/lodash/lodash/wiki/Roadmap.

Discontinue per method packages in favor of modular lodash