gilbox/react-spark-scroll

spark-scroll-rekapi: lodash and underscore dependencies

gilbox opened this issue · 2 comments

😿 Multi-faceted problem:

  • Currently spark-scroll has lodash dependency while Rekapi has underscore dependency.
  • Rekapi does not auto-install underscore

For these two reasons npm install react-spark-scroll-react doesn't work out of the box. The work around is either:

  • Alias underscore (using alias feature of webpack or browserify, or whatever)
  • Manually install underscore via npm install underscore

Don't have time to mess with this atm so creating this issue instead.

Hi @gilbox. FYI, Rekapi does support Lodash. I use Lodash and Rekapi in all of my projects, so it should be safe to combine the two in react-spark-scroll. If you discover an incompatibility, or if there is an issue with installation, please file an issue against Rekapi!

Please update the lodash dependencies as it is showing up as a vulnerability in npm. If it's something to be done from my side, I kindly request your help.