Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: Components start loading before globalscript completes #4889

Closed
3 tasks done
runr02 opened this issue Oct 3, 2023 · 1 comment
Closed
3 tasks done

bug: Components start loading before globalscript completes #4889

runr02 opened this issue Oct 3, 2023 · 1 comment
Assignees
Labels

Comments

@runr02
Copy link

runr02 commented Oct 3, 2023

Prerequisites

Stencil Version

9.6.4

Current Behavior

Components start loading before globalscript completes.

Expected Behavior

Stencil documentation states the globalscript runs once before the library/app loads. As I understand this, the globalscript should complete before other components render.

System Info

System: node 18.16.0
    Platform: windows (10.0.19045)
       Build: 1696258196
     Stencil: 4.4.0
  TypeScript: 5.2.2
      Rollup: 2.42.3
      Parse5: 7.1.2
      Sizzle: 2.42.3
      Terser: 5.20.0

Steps to Reproduce

See repo below.

Code Reproduction URL

https://github.com/runr02/globalScriptAsyncIssue

Additional Information

No response

@ionitron-bot ionitron-bot bot added the triage label Oct 3, 2023
@rwaskiewicz rwaskiewicz self-assigned this Oct 3, 2023
@rwaskiewicz
Copy link
Contributor

Thanks! I appreciate the time to put together a minimal reproduction case. I've confirmed that this is a bug with the reproduction case. However, I'm going to close this as a duplicate of #3392. Thanks again!

@rwaskiewicz rwaskiewicz closed this as not planned Won't fix, can't repro, duplicate, stale Oct 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants