-
Notifications
You must be signed in to change notification settings - Fork 0
Update to dash==1.0.0 when it's released #8
Comments
Is it possible that the recent Dash upgrade to 0.41 which bumped React to 16.8.6 (https://github.com/plotly/dash-renderer/blob/master/CHANGELOG.md#0220) has broken things with the grasia-dash-components ? I'm getting the following error:
|
Hi @zoohair! Yes, indeed. I think something broke with dash 0.41. I'll try to have a look and try to fix it asap. |
@Akronix : looks like Dash 1.0.0 is officially live, and upgrading to it is incompatible with the grasia_dash_components This is the error message I'm getting:
Not sure if there is an alternative to grasia for loading files after React? |
I'm afraid I have no idea of any alternative. I'm sorry 😕. I see. I'm afraid to say that I won't put any personal effort in upgrading grasia-dash-components to dash 1.0.0, unfortunately 😞. Thus, I'm closing this for now. If I ever have some spare time, I'll try to at least make it compatible with the last version of dash 0.x.y. |
@Akronix : I understand, but I think it'd be better to keep this issue open so that others are aware of the problem (otherwise it's not visible in the issues tab anymore as default only shows open issues). With that being said, do you have any hints on how to fix it? I could try to do a PR if you point me in the right direction. Thanks, |
Hmm, after some thought, I realized that there are a few extra components here that are not really needed for my purpose (and others on dash) - namely using the Import(src=...) So I decided to publish another package that just has the defered Import: https://pypi.org/project/dash-defer-js-import/ I'll push to github and post about it on the plotly/dash forum soon. |
@zouhairm Cool! Did you publish the code anywhere? |
@Akronix yes: I’ve published it to npm as well as pypi so anyone can use pip to install it.
Alternatively, it can be built locally from source code which I published here: https://github.com/zouhairm/dash_defer_js_import It can then be used as follows:
|
Thanks a million!!! |
Dash is going to make breaking changes in its next major release 1.0.0, some adjustments will need to be taken in order to make this suite compatible with newer versions of Dash. More info in this issue: plotly/dash#469
Things to do:
'prop-types'
npm package:import PropTypes from 'prop-types';
The text was updated successfully, but these errors were encountered: