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

Keyed each is not reactive to key expression dependencies #5444

Closed
pushkine opened this issue Sep 23, 2020 · 1 comment
Closed

Keyed each is not reactive to key expression dependencies #5444

pushkine opened this issue Sep 23, 2020 · 1 comment
Labels

Comments

@pushkine
Copy link
Contributor

@pushkine pushkine commented Sep 23, 2020

https://svelte.dev/repl/b1ed6b7fc7cf47ce9fc75f0555bcd799?version=3.26.0

<script>
	export let id = 0;
</script>
{#each ["foo", "bar"] as key(id + key)}
	{Math.random()}
{/each}

Expected a different result on every id change

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

3 participants
You can’t perform that action at this time.