DEV Community


Discussion on: State Management with a Single Line of Code

dabalyan profile image
Ankit Singh Author

thanks :)

are you referring to usage in NodeJS environment? Because all modern browsers have localStorage afaik. And if it's not available then plugins won't be able to help there.

that being said, yes you can replace the storage used for persistence, anything that implements the Storage interface can be used, see