This commit is contained in:
Martti Malmi 2021-09-27 13:23:55 +03:00
parent efc6c4ba0b
commit 5c231b32d7

View File

@ -12,7 +12,7 @@ image: https://siriusbusiness.fi/assets/images/posts/painless.jpg
Fed up with writing a ton of Redux boilerplate just to make a form input editable? Fed up with writing a ton of Redux boilerplate just to make a form input editable?
Theres a better alternative: Gun.js. It makes state synchronization and persistence super easy. Theres a better alternative: [Gun.js](https://github.com/amark/gun). It makes state synchronization and persistence super easy.
First, initialize Gun with options that make sure the state is synced with localStorage only (not with peers). First, initialize Gun with options that make sure the state is synced with localStorage only (not with peers).
```jsx ```jsx