0

I have installed react-scroll-to-bottom.

Everytime I render this component, I have some logs about it in the console.

Do you know how to disable this ? Documentation says to pass debug:{false} as a props to the component, but it doesn't work.

enter image description here

WaLinke
  • 726
  • 2
  • 6
  • 25

1 Answers1

0

The problem is in that particular package as mentionned here :

https://github.com/compulim/react-scroll-to-bottom/issues/75

Problem will be fixed in the next release.

It seems that setting NODE_ENV to production can do the trick, but it doesn't work for me.

WaLinke
  • 726
  • 2
  • 6
  • 25