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
I have come across an issue when firing a custom event which is triggered as a result of an event fired in a nested component.
If you fire the custom event within the components directive, the data seems to be from the initial state of the container component. The value is changed within the nested component though.
If you use an event handler in the directive and fire the custom event from within the handler then the container components data is correct.
I have come across an issue when firing a custom event which is triggered as a result of an event fired in a nested component.
If you fire the custom event within the components directive, the data seems to be from the initial state of the container component. The value is changed within the nested component though.
If you use an event handler in the directive and fire the custom event from within the handler then the container components data is correct.
REPL example for a better explanation so ^ makes sense - https://svelte.technology/repl?version=1.64.0&gist=60bdf43e8b114186d23cd85893295748
The text was updated successfully, but these errors were encountered: