Skip to content

Improve client-side version handler #207

Open
@ScriptedAlchemy

Description

@ScriptedAlchemy

dashboard-plugin/client-version is functional, but needs to be improved.

Functions need to be more resilient - code needs to be DRYed out further

We should consider Template from webpack to assist in writing function templates.

Look in webpack code and search for Template.asString to Template.baseFunction, a lot of templating tools are available to make it easier to format and wring blocks of strings.

What happens if a remote fails, we would need to think about what pattern could be implemented - like trying to load another version, when that promise rejects

We want to be able to track the scripts in the best way possible when injecting them.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions