腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(75)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
1
回答
从
angular-redux
store获取最新状态
我创建了自己的商店 cartData:ICartItem[]; }但在很多地方,我只需要商店里的最新数据。根据文档,将attr @select()添加到存储项中就足够了,添加您将获得当前状态。@Injectable() @select() private cartData: ICartItem[] ;
浏览 5
提问于2018-03-26
得票数 2
2
回答
使用@
angular-redux
/store测试@select装饰器
当在Angular中测试依赖于@select()装饰器的组件时,我使用MockNgRedux.getSelectorStub('myStoreProperty').next(testState)向订阅者发送新值,但是当我调用next函数时,它不会用新值触发订阅。export class BasicInfoComponent { this.application$.subscribe((app: Application) => {
浏览 0
提问于2017-11-09
得票数 0
2
回答
使用Angular 5+在
Angular-redux
中调度操作时如何发送有效负载
在
angular-redux
中调度操作时,如何发送有效负载?我在任何地方都找不到它的解释,无论是在官方教程中,还是在API-Docs中。
浏览 4
提问于2018-01-26
得票数 1
1
回答
修复升级到9.0和angular 7后的
angular-redux
/store
对于状态管理,它使用的是@
angular-redux
,它已经更新到版本9.0。然而,保持商店原样会导致应用程序无法加载(没有控制台错误)。NgModule } from "@angular/core"; NgReduxModule, DevToolsExtensionimport { NgReduxRouterModule, NgReduxRouter } from "@
浏览 15
提问于2019-04-08
得票数 1
1
回答
如何在
angular-redux
/store中初始化根存储进行测试?
我希望为angular redux设置初始根存储区,而不是一次为一个选择器调用getSelectorStub。做这件事最好的方法是什么?
浏览 9
提问于2019-09-07
得票数 0
1
回答
在@
angular-redux
/store configureStore 9版本中正确注册epics
我已经将自己的项目从5版本移到了angular 6,@
angular-redux
/store 9。一切都很好,但是在中间件中注册epics的方法不起作用。
浏览 5
提问于2018-07-23
得票数 0
1
回答
如何在angular 10中对"@
angular-redux
/store“中的select进行单元测试?
我有一个减速器,定义为: export const dummy_reducer = (state: any = INITIAL_STATE, action: any): any => { GET_EMPLOYEE_DETAILS: () => { emp_name: action.payload.emp_name }, 我在component.ts中使用它,如下所示: @s
浏览 15
修改于2020-10-05
得票数 0
1
回答
Angular-redux
嗨,我正在开发一个Angular网站。我使用Angular内置的httpClient库进行后端调用。它返回一个可观察对象。因此,我订阅了该可观察对象,并使用有效负载直接从该可观察对象进行调度。这是一个很好的实践,还是我需要使用像redux-thunk或saga这样的中间件?如果是这样,为什么?下面是我如何在代码中做到这一点。 this.http.getProduct().subscribe((x) => {
浏览 10
提问于2020-02-14
得票数 0
1
回答
“formDirective”在类“”ControlContainer“”中定义为访问器,但在“”ConnectArrayDirective“”中被重写为实例属性
我得到了下面的错误,但是,我已经更新了最新版本的@
angular-redux
/form, @
angular-redux
/router and @
angular-redux
/store"@
angular-redux
/router": "^10.0.0", "@
angular-redux</em
浏览 3
修改于2020-09-07
得票数 3
0
回答
子目录的SystemJS包配置路径映射
我想让@
angular-redux
/form/dist/source/connect成为@
angular-redux
/form/dist/source/connect/index.js }, map: {
浏览 4
提问于2017-11-26
得票数 0
回答已采纳
1
回答
更新为角5后的错误:没有NgReduxRouter提供程序
在这里你可以看到我的商店模块// @
angular-redux
/form and @
angular-redux
/router are optional&
浏览 2
提问于2018-02-13
得票数 5
回答已采纳
1
回答
使用@角- Redux /存储时使用redux 4.0.0时出错
在编译时获取以下错误:node_modules/@
angular-redux
/store/lib/src/componen
浏览 0
修改于2018-05-02
得票数 1
2
回答
this.ngRedux.dispatch不能正常工作
因此,我刚开始使用redux,并一直在尝试创建一个简单的计数器应用程序,它可以在单击按钮时递增,但我一直收到以下错误消息: node_modules/@
angular-redux
/store/lib/srcnode_modules/@
angular-redux
/store/lib/src/components/ng-redux.d.ts(37,33):error TS2344:键入'RootState‘不满足约束node_modules/@
浏览 0
提问于2018-04-21
得票数 1
回答已采纳
2
回答
在角7中实现redux会产生错误TS2307:无法找到模块'redux‘。错误
我看到它在npm页面上被废弃了,所以我使用建议的npm install @
angular-redux
/store'来安装它。platform-browser';import { NgRedux, NgReduxModule } from '@
angular-redux
test", "e2e&q
浏览 1
修改于2019-02-27
得票数 3
回答已采纳
2
回答
在angular redux应用程序中进行API调用
我想从一个基本的
angular-redux
to do app.Also从服务器获取json数据,请解释一下数据流是如何从store.If中发生的,你可以友好地参考任何关于这个问题的博客,这将是很棒的。
浏览 1
提问于2017-11-22
得票数 1
1
回答
Angular Redux,无法将IAppState设置为状态
IAppstate,这样我就可以递增值app.component.ts import { Component } from '@angular/core';import { NgReduxModule, NgRedux } from '@
angular-redux
浏览 14
提问于2021-10-19
得票数 0
1
回答
带角余量/存储的角保护装置
我在我的项目中使用@
angular-redux
/store。默认情况下,如果可以配置@
angular-redux
/store以跳过@()装饰符中未指定的/初始化的值,则会更好。 谢谢你的帮助。
浏览 4
提问于2020-09-26
得票数 0
回答已采纳
0
回答
在angular 2应用程序中使用ngrx/store优于reduxjs的功能和优势
同样,对于用angular2开发的大型web应用程序,哪一个会更好: 1. redux 2. ngrx/store 3
angular-redux
找不到其中每个都会带来w.r.t的特定功能。
浏览 5
提问于2017-11-23
得票数 0
1
回答
Angular 5和angular-rdux/store
我已经安装了Angular 5,"redux":"^3.7.2",constructorimport { Component, ChangeDetectionStrategy } from '@angular/core'; import { NgRedux, select } from '@
angular-redux</em
浏览 3
修改于2018-10-30
得票数 0
1
回答
SPA .netCore角5:未定义的参考误差: jQuery未定义
"scripts": { }, "@
angular-redux
/form": "^6.7.0", "@<e
浏览 1
提问于2019-01-08
得票数 0
第 2 页
第 3 页
第 4 页
点击加载更多
领券