腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(109)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
1
回答
如何使用
ngRedux
测试服务
我如何嘲笑
ngRedux
的getState :有因果报应的茉莉this.
ngRedux
.getState()
浏览 0
提问于2017-05-25
得票数 2
2
回答
this.
ngRedux
.dispatch不能正常工作
但我一直收到以下错误消息:import { Component } from '@angular/core'; import {
NgRedux
, select } from '@:
NgRedu
浏览 0
提问于2018-04-21
得票数 1
回答已采纳
1
回答
属性'
ngRedux
‘在’AppModule‘类型上不存在。?
我一直在angular6中实现redux,它几乎完成了应用程序的工作,但是它在节点cli 属性'
ngRedux
‘不存在于'AppModule'.?类型时抛出了一个错误。当我在
NgRedux
导入和导出中添加App.module.ts时,它会抛出一个错误,然后应用程序停止工作。 //
ngRedux
.configureStore(rootReducer, INITIAL_STATE)
浏览 0
修改于2018-07-05
得票数 0
回答已采纳
1
回答
如何在弹出窗口中使用
ngRedux
?
."); 但是,我正在尝试从我的一个商店获取信息,比如: constructor(private
ngRedux
:
NgRedux
<IAppState>){ this.myStoreValue=
ngRedux
.getState().myStore.myStoreValue;}; 似乎
ngRedux
订阅没有触发,所以我无法从存储中获取值
浏览 10
修改于2020-01-03
得票数 1
回答已采纳
1
回答
将新数据更新/推送到
NgRedux
状态
payload ) { response => { let data = addresses.data.push( response ) this.
ngRedux
.dispatch({ type: ADD_ADDRESS_SUCCESS, p
浏览 2
修改于2018-06-18
得票数 1
回答已采纳
2
回答
从Angular
ngRedux
-Store获取数据
我想从
ngRedux
-store加载数据并对更改做出反应。我想在一个使用CanActivate接口的守卫中使用它。console.warn('AuthGuard#canActivate called');console.error
浏览 1
提问于2018-01-10
得票数 0
回答已采纳
2
回答
如何为
NgRedux
编写测试用例
this.
ngRedux
.getState().message.data
浏览 5
提问于2021-02-09
得票数 1
1
回答
业力茉莉TypeError: this.
ngRedux
.getState不是一个函数
我试图在我的一个模块上运行一个测试,该模块处理
ngRedux
。在运行测试时,我得到了 it("should create component:", ()"^0.3.7","@angular/core": "4.3.6", ... let roleKind
浏览 0
提问于2017-09-10
得票数 1
回答已采纳
1
回答
角2茉莉花误差:不能解析
NgRedux
的所有参数
我使用的是角度为2的
ngRedux
。我正在尝试测试一个使用
ngRedux
的简单组件import {
NgRedux
, select }ProfileDetailsComponent implements OnInit { private
ngRedux
:
NgRedux
<Ma
浏览 3
修改于2017-04-27
得票数 0
回答已采纳
1
回答
NgRedux
+角+选择在订阅时触发
我已经在我的redux中使用了redux几个星期了,但是我注意到了它的一些地方:在ngOnInit()的app.component.ts中 this.
ngRedux
.select
浏览 3
提问于2018-06-28
得票数 1
回答已采纳
1
回答
TypeError: jit__object_Object_38不是构造函数,
NgRedux
,角2
/common/tool/command-button.component'; class MockReduxextends
NgRedux<
浏览 2
修改于2017-09-28
得票数 0
回答已采纳
1
回答
犯错误- NullInjectorError:没有
NgRedux
的提供者!集成redux实现时
根据我所提到的学习材料,
ngRedux
不需要添加到提供者中。将其添加到提供程序后,仍然会出现错误。 //Activation of store.import {
NgRedux
, NgReduxModule} from '@angular-redux/store';
浏览 2
提问于2018-11-01
得票数 1
回答已采纳
1
回答
具有大数据收集、内存问题的
ngredux
状态
我们正在为我们的Angular应用程序实现
ngRedux
。不过我担心的是:内存使用,尤其是移动设备的内存使用。
浏览 4
提问于2017-03-09
得票数 0
回答已采纳
2
回答
错误TS2420:类“
NgRedux
<RootState>”不正确地实现接口“ObservableStore<RootState>”
/ node_modules/@angular-redux/store/lib/src/components/ng-redux.d.ts(10,31):ERROR TS2420中的错误:类'
NgRedux
属性'Symbol.observable‘在'
NgRedux
’类型中缺失,但在类型‘观察者存储’中是必需的。
浏览 1
提问于2019-07-15
得票数 5
1
回答
单元-测试剩余-驱动角应用程序
我最近升级了我的角应用程序的角包,包括升级: store = new
NgRedux
<IAppState>(null);// etc但显然,他们制造了
NgRedux
级abstract。因此,如果出现以
浏览 3
修改于2017-10-18
得票数 1
1
回答
错误TypeError: Observable_1.Observable.from不是函数
..................................app.component.tsimport {
NgRedux
:
NgRedux
<IAppState>) { this.
ngRedux
.dispatch({type: INCREMENT});app.component.html/app.component'; im
浏览 0
提问于2018-09-13
得票数 1
1
回答
Angular Redux,无法将IAppState设置为状态
因为我正在尝试将状态设置为IAppstate,这样我就可以递增值app.component.ts import { Component } from '@angular/core';export class AppComponent { counter:number =0;
浏览 14
提问于2021-10-19
得票数 0
1
回答
导入ng-redux只返回一个字符串
我在将ng-redux导入我的JS客户端应用程序时遇到了问题:import needle from 'needle'; // justfor debugging 控制台的输出为: needle: {version:"1.6.0", defaults: ƒ, head: ƒ, get: ƒ, po
浏览 2
提问于2018-08-01
得票数 0
回答已采纳
1
回答
Angular 5和angular-rdux/store
我已经安装了Angular 5,"redux":"^3.7.2",constructor(
ngRedux
:
NgRedux
<IAppState>) {
ngRedux
.configureStore(rootRed
浏览 3
修改于2018-10-30
得票数 0
1
回答
Angular2和Redux :获取组件中的状态
我认为有三种解决办法:constructor(private
ngRedux
:
NgRedux
) { } this.prop = this.
ngRedux
.getState).prop;}getProp() { return this.
ngRedux
.getStat
浏览 7
提问于2016-11-25
得票数 2
第 2 页
第 3 页
第 4 页
第 5 页
第 6 页
点击加载更多
领券