Hey all 👋
Just as the title suggests, I'm trying to find a way to set a store to its initial value. I have tried the following:
setState(initialValue)
setState(reconcile(initialValue))
setState(reconcile(initialValue, { merge: false }))
setState(() => initialValue)
I could technically go through each property and set it to its initial value but I was hoping I don't have to do that. Any help would be greatly appreciated!