Open kachkaev opened 4 years ago
Same here. I'm getting this on a Next.js project. Warning seems pushed from SSR.
I created a simple hooks based one without this warning react-jsbarcode
Why you don't publish this changes ? there is pr merged to master month ago and in 1.4.1 i still get this strict mode message.... When are you planning to do this ?
👋 @kciter,
Awesome lib, I've been using it for a couple of years!
You've probably heard about the upcoming Concurrent Mode, which imposes some additional restrictions to the components. It seems that
react-barcode
is not fully compatible because of a string ref begin used. Here is a warning I'm seeing after wrapping<Barcode>
into<React.StrictMode>
: