Get a new writable signal initialized with the given value.
const count = signal(1);count(); // 1count(2); // subscribers are notified Copy
const count = signal(1);count(); // 1count(2); // subscribers are notified
Get a new writable signal initialized with the given value.