We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
REPL. When you click the button, a new block is created; the old one reverts to its pending state and stays in the DOM.
<button on:click='updatePromise()'>click me</button> {#await promise} <p>loading...</p> {:then value} <p>loaded</p> <!-- change this to `loaded {value}` and it works correctly --> {:catch error} <p>errored</p> {/await} <script> export default { data: () => ({ promise: new Promise(f => setTimeout(() => f(42), 1000)) }), methods: { updatePromise() { this.set({ promise: new Promise(f => setTimeout(() => f(99), 1000)) }); } } }; </script>
The text was updated successfully, but these errors were encountered:
failing test for #1417
6437d7b
fix #1417
8d772b1
Successfully merging a pull request may close this issue.
REPL. When you click the button, a new block is created; the old one reverts to its pending state and stays in the DOM.
The text was updated successfully, but these errors were encountered: