As described in plotly/dash#899, Dash for Python will soon support eager and lazy loading of components to enhance performance. Dash for R should do the same, which will require
Additional requirements (repasted from an earlier comment):
- Dash for R should extract
_dash_compatibility_version from component's __init__.py
- may be overridden with Dash option
_dash_compatibility_version
- warnings will be displayed to inform the user of the features inactivated by _dash_compatibility_version and which component(s) are responsible for the deprecated mode
- Need to distinguish 'lazy' files from 'dynamic' files for eagerness
- Plotly.js gets differential treatment and eagerness will not just change behavior but also the set of files to load
@Marc-Andre-Rivet @alexcjohnson
As described in plotly/dash#899, Dash for Python will soon support
eagerandlazyloading of components to enhance performance. Dash for R should do the same, which will require_js_distand inspect theasyncfieldTRUE,"eager","lazy")eager_loadingflag_force_eager_loadingflag, e.g. https://github.com/plotly/dash-design-kit/blob/ba0b941425903fbd3d463b83480699489e8f2c91/dash_design_kit/__init__.py#L33Additional requirements (repasted from an earlier comment):
_dash_compatibility_versionfrom component's__init__.py_dash_compatibility_version@Marc-Andre-Rivet @alexcjohnson