From 6ebf4b2828a06ba24e9889be93ed7450b1e65ace Mon Sep 17 00:00:00 2001 From: Jesse Skinner Date: Thu, 27 Feb 2020 12:18:36 -0500 Subject: [PATCH] Changed 'initial value' to 'default initial value' in a few places for clarity. --- site/content/docs/01-component-format.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site/content/docs/01-component-format.md b/site/content/docs/01-component-format.md index 782438099f..07a59c69f8 100644 --- a/site/content/docs/01-component-format.md +++ b/site/content/docs/01-component-format.md @@ -44,11 +44,11 @@ Svelte uses the `export` keyword to mark a variable declaration as a *property* You can specify a default initial value for a prop. It will be used if the component's consumer doesn't specify the prop on the component (or if its initial value is `undefined`) when instantiating the component. Note that whenever a prop is removed by the consumer, its value is set to `undefined` rather than the initial value. -In development mode (see the [compiler options](docs#svelte_compile)), a warning will be printed if no initial value is provided and the consumer does not specify a value. To squelch this warning, ensure that an initial value is specified, even if it is `undefined`. +In development mode (see the [compiler options](docs#svelte_compile)), a warning will be printed if no default initial value is provided and the consumer does not specify a value. To squelch this warning, ensure that a default initial value is specified, even if it is `undefined`. ```html ```