hotwired / stimulus

A modest JavaScript framework for the HTML you already have

Home Page:https://stimulus.hotwired.dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

dwaynemac opened this issue · 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