You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If that's not possible, we recommend creating a small repo that illustrates the problem.
Reproductions should be small, self-contained, correct examples – http://sscce.org.
Occasionally, this won't be possible, and that's fine – we still appreciate you raising the issue. But please understand that Svelte is run by unpaid volunteers in their free time, and issues that follow these instructions will get fixed faster.
Expected behavior
A clear and concise description of what you expected to happen.
Stacktraces
If you have a stack trace to include, we recommend putting inside a <details> block for the sake of the thread's readability:
Stack trace
Stack trace goes here...
Information about your Svelte project:
Your browser and the version: (e.x. Chrome 52.1, Firefox 48.0, IE 10)
Your operating system: (e.x. OS X 10, Ubuntu Linux 19.10, Windows XP, etc)
Svelte version (Please check you can reproduce the issue with the latest release!)
Whether your project uses Webpack or Rollup
Severity
How severe an issue is this bug to you? Is this annoying, blocking some users, blocking an upgrade or blocking your usage of Svelte entirely?
Note: the more honest and specific you are here the more we will take you seriously.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
This sounds like the issue that was being pursued in #3671 - that basically you shouldn't use a fully compiled and bundled Svelte component inside of another Svelte app because having two copies of Svelte's internal scheduler breaks things.
Describe the bug
A clear and concise description of what the bug is.
when use packed UI component, the UI component's children component's onMount life hooks do
not tigger.
Logs
Please include browser console and server logs around the time this bug occurred.
To Reproduce
To help us help you, if you've found a bug please consider the following:
button.svelte
red-button.svelte
index.js
when use rollup to pack the RedButton to npm package. other user use the component,
the red component's button will not trigger onMount.
see source:
https://github.com/cloudfroster/svelte-build-component
git clone then npm install,just run npm run dev.
Occasionally, this won't be possible, and that's fine – we still appreciate you raising the issue. But please understand that Svelte is run by unpaid volunteers in their free time, and issues that follow these instructions will get fixed faster.
Expected behavior
A clear and concise description of what you expected to happen.
Stacktraces
If you have a stack trace to include, we recommend putting inside a
<details>
block for the sake of the thread's readability:Stack trace
Stack trace goes here...
Information about your Svelte project:
Your browser and the version: (e.x. Chrome 52.1, Firefox 48.0, IE 10)
Your operating system: (e.x. OS X 10, Ubuntu Linux 19.10, Windows XP, etc)
Svelte version (Please check you can reproduce the issue with the latest release!)
Whether your project uses Webpack or Rollup
Severity
How severe an issue is this bug to you? Is this annoying, blocking some users, blocking an upgrade or blocking your usage of Svelte entirely?
Note: the more honest and specific you are here the more we will take you seriously.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: