
Hi team,
I’m using reactjs with webpack and installed bokehjs via yarn/npm,
When trying to embed the json received from django, in browser no graph could be rendered, having multiple issues like:
has_props.js:256 Uncaught (in promise) Error: property ColumnDataSource.selectionPolicy wasn't declared
from the look of the issue it seems to be similar like
but in the django/react the version matches:
with bokehjs loading we followed other thread’s solution to include @babel/plugin-proposal-export-namespace-from plugin in webpack config, that allow us to pass the build process but not necessarily working in the browser
on django side we are installing with pipenv install and version is ==2.1.1
on react side we are installing with yarn and version is "@bokeh/bokehjs": 2.1.1
and we have to do
"resolutions": {
"@bokeh/slickgrid": "2.3.23"
},
to resolve the bug in 2.4.27(we could not use 2.4.27-1 since the build warns about the version is not compatible with bokehjs 2.1.1)
it was working approximately 4 weeks ago, there were some updates on our code base too but with my limited knowledge with react/webpack I haven’t figured out what is causing it yet
I’ve also tried to downgrade both django and react bokeh to 1.4.0, and the issue persists(property was not declared)
Any help would be appreciated



