Skip to content
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

How to use with React #8

Open
Steve229 opened this issue Mar 5, 2018 · 2 comments
Open

How to use with React #8

Steve229 opened this issue Mar 5, 2018 · 2 comments

Comments

@Steve229
Copy link

Steve229 commented Mar 5, 2018

Trying to figure out how to use this in my React app. I've got D3 imported without problems, but can't figure out how to import/load the generated JS files with my component.

Any help would be appreciated!

@Klortho
Copy link
Owner

Klortho commented Apr 5, 2018

I haven't used React. I'd be interested to hear if you still have problems with the newly-released version, 2.0.0. If so, post a link to a repo demonstrating the problem, and I'll take a look.

@lcahlander
Copy link

I created a polymer based web component using d3-flextree. I am working on getting it converted over to react.

https://github.com/easymetahub/emh-d3-flextree

The only change that needs to be made to get it working proper under polymer is to edit node_modules/d3-flextree/src/flextree.js after the ’npm install'

Eliminate the import of version from package.json and hardcode the version number for flextree.version to “2.1.1”

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants