Skip to content

Rework /html/forms.js script #52

Description

@gulachek

I'd rather that /html/forms.js is not required to be included just to do form submissions or web socket connections. The server endpoints should be documented so that these more foundational things can be set up.

Furthermore, .js is not going to cut it with the current script ecosystem. There should probably be a few different options for script inclusion that can be available at different URLs.

  • Something that sets a global htmlForms or something
  • AMD/UMD module (unsure if UMD would automatically do the above)
  • ES Module support

Then a consumer can import the exposed module however the consumer would like.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions