Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 733 Bytes

readme.md

File metadata and controls

16 lines (12 loc) · 733 Bytes

Repro

Repro to issue: ionic-team/stencil#2954

  1. clone repository: https://github.com/JulianLang/stencil-bug-lifecycle-hooks.git
  2. npm install
  3. npm start
  4. goto http://localhost:3333/
  5. hit F12 to open dev tools
  6. see console output
  7. reload page several times* and see sporadic changes in console output order
  8. go to the code components/toggle-group and components/toggle-button and 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.