concept reference in category svelte
appears as: reference, references

This is an excerpt from Manning's book Svelte and Sapper in Action.
Now we can enter a name, but it doesn’t change the greeting. We need to add event handling so the value of the
namevariable is updated when the user types in the input. We can do this using an inline arrow function or a reference to a function defined in thescriptelement. Change theinputto the following:
import Dialog from './Dialog.svelte';