hotwired/stimulus

[name]OutletConnected is fired after outlet initialized, not connected ?

dwaynemac opened this issue · 0 comments

I have a parentController with:

connect(){
  console.log("parent connected")
}
childOutletConnected(){
  console.log("childOutlet connected")
}

and childController with:

initialize(){
  console.log("child initialized")
}
connect(){
  console.log("child connected")
}

What I'm seeing in the console is:

parent connected
child initialized
childOutlet connected
child connected