Eola
July 4, 2023, 10:52pm
1
Hello,
I try to use bokehjs directly in an React Application.
I created a template of a react App with :
npx create-react-app my-app
I try to import Bokeh :
import * as Bokeh from “@bokeh /bokehjs”;
I have a lot of errors of compilation. Is there any way to import Bokeh without errors and have access to Plotting module?
I know that i can import CDN but i want to do it in the right way.
Thank you very much
Bryan
July 6, 2023, 3:04am
2
It looks like there is a relevant blog post here:
Embedding Bokeh into a ReactJS app using BokehJS | by Alexander Hupfer | Medium
I can’t speak to how accurate or up to date it might be. Developing BokehJS as a first-class JavaScript library is still an ongoing work in progress (more help is really needed)
@mateusz @Philipp_Rudiger may have additional thoughts or information to add