Creates a signal that will sync changes to some sort of storage.
The next time a signal with the same key is read, an alternative value to the initial value will be used.
It's probably better to use sessionStorageSignal or localStorageSignal instead of this.
Type Parameters
T
The type of the value that should be stored and deserialized.
Creates a signal that will sync changes to some sort of storage. The next time a signal with the same key is read, an alternative value to the initial value will be used. It's probably better to use sessionStorageSignal or localStorageSignal instead of this.