I'm creating one npm package with react. But setState callback is not working in the npm package that I build. I used react@16.3.1.
I tried with react@15.6.2 and everything is working fine.
Any help for resolve the issue in 16.3.1 will be appreciated !!