Render function that receives the current value and its state setter.
Value used to initialize the persisted state.
Optional
Optional storage mode for values too large for local storage.
Render function that receives the current value and its state setter.