svelte-hmr
svelte-hmr copied to clipboard
HMR commons for Svelte 3
### Describe the bug this i use to observe changed value $: { filterSearchResults(searchTerm); console.log(selections); } ------ but this goes out of control and keeps printing forever setInterval(() => {...
This might not be the place for this, but it's the only work really out there with Svelte + HMR, so: Any ideas on how to get the web component...
``` System.err: TypeError: Cannot create property 'm' on boolean 'false' ``` for a component ```html export let prop ``` see https://github.com/halfnelson/svelte-native/issues/123
as some errors might be passed to `addError` with a `stack` attribute not including the error `message`
Hi @rixo et al. I'm working full time+ on a desktop app like UI library for Svelte and have now been testing w/ the latest Vite & HMR. Each "application"...
and add renovate-bot config this PR breaks at nollup testing. Suggest to drop support for it. The changeset with version major may also cause a bump to 1.0.0 when released.
Adds `preserveLocalState:'smart'` option. When enabled, components local state will be preserved, except if the initialisation code of their declaration (appears to) have changed, based on static code analysis. AFAICT this...
#### Describe the issue When updating the code of parent component, the local state of children component is lost(with `preserveLocalState: true`). While the local state of parent component can be...
I integrated [twin.macro](https://github.com/ben-rogerson/twin.macro) into my svelte project, and everything works as expected, but after making any change, HMR always errors out with "ReferenceError: tw is not defined". [Here's a reproduction...