-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
String ref causing error in React 16.2 #63
Comments
Did you define '_this2.chart' anywhere? |
@kreppi92 No - that's the generated, transpiled output produced by Babel. |
Do you mind sharing a screenshot of your package.json @danieldpence ? |
@LashaunnaS : The problem is the compiled source code in the You can reproduce this issue easily by:
|
That did the trick @danieldpence! Thanks so much for the help I am really looking forward to using this library. For anyone who may need this thread moving forward the above steps were exactly what you needed. If you get an error after running step #4 run Cheers @danieldpence |
Sorry for the inconvenience @LashaunnaS @danieldpence , I have just published the updated version to PS: I usually have |
No worries - thanks @fraserxu! |
I hope that I'm just doing something wrong, but I'm getting a pesky ref-related error and I think it's due to the distributed output containing a string ref:
In react-chartist/dist/index.js:
The error I'm seeing in the console:
Upon digging in, it looks like maybe the build step wasn't run again after the bump to 13.0? To confirm, I ran your build script locally and sure enough the transpiled output is what I would have expected:
I'm happy to help any way I can, but I hope it's as simple as publishing a new build.
Thanks for your work on this package - I've used it a lot and it's great!
The text was updated successfully, but these errors were encountered: