-
-
Notifications
You must be signed in to change notification settings - Fork 42
Description
Currently, components in Dash.jl are generated via macros, which populates the component template from within Julia. This differs from the way components are currently generated for Plotly's existing Dash backends -- these are created using (Python) scripts for Python and R alike.
plotly/dash#1197 proposes to add similar functionality for Julia component generation. Doing so would allow us to
- update Julia components at each release cycle
- standardize documentation and component generation practices
- permit non-Julia users to easily build Dash components for this user community
- implement the same structure we currently use for component build tests in other repositories
@waralex has noted that switching to pre-generated components may lead to scoping issues that require some refactoring within Dash.jl; specifically, we want to ensure that generated components have global scope, so that they are available to Dash apps once the module is loaded.
I've noticed that the Project.toml
file is generated within Julia, but I'm curious if there's any way to obtain this metadata outside of Julia's REPL for component modules. This will be a minor obstacle as we work to create component libraries for Julia, since we try not to force Python users to do any component generation work in R, for example.
@mbauman if you have any suggestions related to scoping or generating Project.toml
outside of Julia, your insights would be much appreciated 🙂