Skip to content

Change frontend js to use modules #307

Open
@notrodes

Description

@notrodes

Currently we just load all functions into the html namespace and call them. Instead we can structure the project with modules. The only roadblock I think is that modules are viral, if you create one it can only be imported by other modules, making it harder to do this incrementally.

" module features are imported into the scope of a single script — they aren't available in the global scope." - MDN

Metadata

Metadata

Assignees

No one assigned

    Labels

    frontendSuspected problem with frontend (client-side code in public directory)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions