Stimulus Discourse

Flag up non-existing controller references

It’s easy to make a typo in a data-controller reference. And it’s hard to debug it: the functionality simply stops working without no indication of what the problem is.

It would be nice if data-controller references that resolve to nothing, threw an error. Or, perhaps, if there were an option to turn that check on.

Thanks,
Artem