Repro to issue: stenciljs/core#2954
- clone repository: https://github.com/JulianLang/stencil-bug-lifecycle-hooks.git
npm installnpm start- goto
http://localhost:3333/ - hit
F12to open dev tools - see console output
- reload page several times* and see sporadic changes in console output order
- go to the code
components/toggle-groupandcomponents/toggle-buttonand play around with the life-cycle hooks (comment / uncomment)
* sometimes it takes a bit until changes in order occur (≈ 10 - 30 times)
Also note: I figured that having many console.logs activated it makes it more likely that the order in console will change in fewer page reloads.