浅谈redux2 Posted on 2020-06-10 Words count in article: 97 | Reading time ≈ 1 浅谈redux2Debugging Redux ApplicationsInstalling Redux DevToolsThe BasicsInspector MonitorTracingExporting and ImportingWriting Clean Redux CodeStructuring Files and FoldersDucks PatternRedux ToolkitCreating the StoreCreating ActionsCreating ReducersCreating SlicesExerciseSolutionDesigning the StoreRedux State vs Local StateStructuring a Redux StoreCombining ReducersNormalizationSelectorsMemoizing Selectors with ReselectExerciseSolutionMiddlewareWhat is MiddlewareCreating MiddlewareParameterizing MiddlewareDispatching FunctionsExerciseSolutionA Quick NoteConsuming APIsSetting Up the BackendThe ApproachAPI MiddlewareActionsRestructuring the StoreGetting Data from the ServerLoading IndicatorsCachingSaving Data to the ServerExerciseSolution- Resolving BugsSolution- Assigning a Bug to a UserReducing CouplingCohesionTesting Redux ApplicationsIntroductionWhat is Automated TestingSetting Up the Testing EnvironmentYour First Unit TestUnit Testing Redux ApplicationsSolitary TestsSocial TestsMocking HTTP CallsWriting Clean TestsTest CoverageExercisesSolution- getUnresolvedBugsSolution- resolveBugSolution- loadingBugsA Quick Note -------------本文结束,感谢您的阅读------------- Post author: Jason Post link: https://jasonxqh.github.io/2020/06/10/%E6%B5%85%E8%B0%88redux2/ Copyright Notice: All articles in this blog are licensed under CC BY-NC-SA 3.0 unless stating additionally.