Create React Interop Examples
- Dominant language
- JavaScript
- Stars
- 110
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
(Excerpted from a [discussion on the D3 Slack](https://d3js.slack.com/archives/C07ET41MG/p1490102579297828))
The thought "d3-component as a replacement for React's Component, as it basically replicates its functionality" is correct. But I also recognize that they need to play well together. It is possible to create a general-purpose shim between them, to create a React component "wrapper" or "wrapper factory" around any component authored using d3-component. I've been meaning to make this, or at least a PoC for it, but have not yet. It would translate into simply passing the `props` from the React component render function into the d3-component instance. I'd welcome a PoC for this.
Contributor guide
Assessment
This issue has not been assessed yet.