A completely working example of how to leverage any react component inside a Jupyter NbExtension using Jupyter-React and Jupyter-React-JS.
git clone [email protected]:timbr-io/jupyter-react-example.git
cd jupyter-react-example && python setup.py develop
jupyter notebook
Inside a Jupyter Notebook
from example import Thing
from IPython.display import display
import random
data = [[{'y': random.randrange(1,10), "x": i+1} for i, v in enumerate(range(10))] for x in [1,2,3,4]]
mything = Thing(props={"data":data})
display(mything)