Apply suggestions from code review

Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
pull/17004/head
Rich Harris 1 week ago committed by GitHub
parent de02329053
commit 4bb399b48e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1,5 +1,5 @@
/** @import { Effect, TemplateNode, Value } from '#client' */
import { DESTROYED, STALE_REACTION } from '#client/constants';
import { DESTROYED } from '#client/constants';
import { DEV } from 'esm-env';
import {
component_context,

@ -843,7 +843,7 @@ export function eager(fn) {
eager_effect(() => {
if (initial) {
// the first time this runs, we create an inspect effect
// the first time this runs, we create an eager effect
// that will run eagerly whenever the expression changes
var previous_batch_values = batch_values;

Loading…
Cancel
Save