Skip to content

Log warnings to the console #81

@leonvogt

Description

@leonvogt

Currently, we show the following warnings:

  • data-controller doesn't match any registered controller
  • Turbo Frame ID is not unique
  • Elements with data-turbo-permanent but no id (or no unique id)
  • Stimulus targets that aren't nested within the corresponding controller

Would be nice to have more warnings like:

  • Stimulus values that aren't defined on the controller element but instead on child element
  • Stimulus outlet selector doesn't match any elements on the page
  • Stimulus target isn't registered on the controller

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions