-
Notifications
You must be signed in to change notification settings - Fork 67
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
Approach#1 in your documentation is not working #543
Comments
Thanks for the report. Can you provide a minimal reproducible example that demonstrates the issue? |
Sure, here it is. |
That's not a minimal example. Try to reduce the code to the essential to demonstrate the problem. |
The
|
Thanks, @liuhenry, your suggestion worked! Probably we should update the documentation. But for now, I'll close this issue. |
As I mentioned in this [issue](vega#543), your first approach is not working, but this change should fix it.
Approach#1
Create class from spec, then get a React class to use
cannot render anything in React App.Please see whether you can reproduce this issue, if so, please fix your documentation. Thanks.
My file structure:
-index.js
-App.js
-Components/BarChart.js
My
BarChart.js
:My
App.js
:My
index.js
:The text was updated successfully, but these errors were encountered: