How well does it works with jQuery?


#1

Does the controller lifecycle conflicts with, say, jQuery events callback ?


#2

If I catch your meaning, I haven’t run into any problems with my usage. I just started building a form with Stimulus that also leans on jQuery events. So in my connect() looks something like this:

  connect() {
    jQuery('.loadbar').hide()
    this.form.on('submit', this.showActivity)
    this.checkboxes.change(debounce(this.search, 500))
  }