mirror of
https://github.com/mmalmi/mmalmi.github.io.git
synced 2025-06-06 18:31:07 +00:00
.
This commit is contained in:
parent
efc6c4ba0b
commit
5c231b32d7
@ -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?
|
||||||
|
|
||||||
There’s a better alternative: Gun.js. It makes state synchronization and persistence super easy.
|
There’s 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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user