mirror of
https://github.com/mmalmi/mmalmi.github.io.git
synced 2025-04-19 10:51:19 +00:00
.
This commit is contained in:
parent
3b3ba584b3
commit
30b45d5f7c
@ -12,7 +12,7 @@ Fed up with writing a ton of Redux boilerplate just to make a form input editabl
|
||||
|
||||
There’s a better alternative: Gun.js. It makes state synchronization and persistence super easy:
|
||||
|
||||
```
|
||||
```js
|
||||
// Initialize Gun with options to make sure that the state is synced only locally
|
||||
const State = new Gun({multicast: false, peers: [], localStorage: true, file: ‘State.local’});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user