Closed T4rk1n closed 6 years ago
I think they do need to be in devDependencies tho no?
I don't know, I don't need them when developing from pycharm, maybe it's different with other editors ? I mean I get a warning that it's not installed but I still get auto completion.
In dcc, they are only peerDependencies
.
@T4rk1n We're fixing that in https://github.com/plotly/dash-core-components/pull/373 though. They should be in devDependencies
, since the Demo and unit tests are using React.
@valentijnnieman Right
@T4rk1n if you don't have React in dev-deps
how will this line work? https://github.com/plotly/dash-component-boilerplate/blob/master/%7B%7Bcookiecutter.project_shortname%7D%7D/src/demo/App.js#L2
@bpostlethwaite I moved react from peerDependencies to devDependencies.
:see_no_evil: apparently I have forgotten how to read a diff
:dancer:
They are
peerDependencies
served by dash and included in the_js_dist
ofdash-renderer
.Closes #39