有没有办法将本地 redux 存储与远程数据同步? [英] Is there a way to sync local redux store with remote data?

查看:58
本文介绍了有没有办法将本地 redux 存储与远程数据同步?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望创建一个带有本地 redux 存储的应用程序.但我希望商店经常通过互联网与远程商店同步.

I am looking to create an application with local redux store. But I want the store to sync frequently with a remote store over internet.

我正在寻找像 git 或 rsync 这样可以解决冲突并保持版本的东西.有没有反应库可以做到这一点?

I'm looking for something like git or rsync that can solve conflicts and keep versions. Is there any library in react that can do this?

推荐答案

是的,有许多用于存储持久性和同步的现有库.请参阅 Store PersistenceStore#Synchronization 我的Redux 插件目录

Yes, there's many existing libraries for store persistence and syncing. See the Store Persistence and Store#Synchronization sections of my Redux addons catalog

这篇关于有没有办法将本地 redux 存储与远程数据同步?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆