NativeScript + ngrx store + 远程开发工具

NativeScript + ngrx store + remote devtools

我正在使用 NativeScriptAngular 2TypeScript[=28 构建移动应用程序=].我的 IDE 是 VS Code。

我决定使用 @ngrx/store 来保持应用程序的状态。但是,调试存储状态存在问题。我想使用 redux-devtools 我读过在我的情况下我必须使用 remote-redux-devtools. The problem is it's supposed to work with redux and I cannot find any guide how to set it up for ngrx.

ngrx 支持 devtools 本身,但我没能在 this instruction.

之后让它工作

你们中有人做过这样的设置吗?可以帮我吗?

谢谢!

现在无法使用 Nativescript 连接到远程 redux devtools。理论上是可以的。 react-native 可以做到。网上的ngrx可以做到。到今天为止,还没有任何项目可以将 ngrx 连接到远程开发工具。

https://github.com/vakrilov/ngrx-devtools-nativescript 可以将其嵌入到应用程序中 - 但这非常繁琐,不是您所要求的。