concept svelte / store package in category svelte

appears as: svelte/store package, The svelte/store package
Svelte and Sapper in Action

This is an excerpt from Manning's book Svelte and Sapper in Action.

To create a writable store, call the writable function, which is defined in the svelte/store package. Pass an initial value and optionally a function that initializes the store. The use of such a function is described later.