Closed qubolino closed 6 years ago
Material-ui only works with react 16, we are still on react 15. We are upgrading it for dash 1.0.0: https://github.com/plotly/dash/issues/469
thank you for your answer. i understand better now.
do you have an approximate ETA for dash 1.0.0? or an update allowing dash_renderer._set_react_version('16.3.3')
Not good
i am confronted to an unsolved problem when I want to import external react libs (e.g. material-ui among others). it works well with
npm run start
(orwebpack-serve ./webpack.serve.config.js -hot
) but not withnpm run build:all
(orvenv/bin/python usage.py
) as it cannot find_react.default.createContext();
.debugging the
webpack-serve
version (which works) i can see that the function is inreact.development.js:1266
while with
venv/bin/python usage.py
i have the following stacktrace:Originally posted by @qubolino in https://github.com/plotly/dash-docs/issues/194#issuecomment-443241827