Introduction

At this stage, readers should master the skills in Redux basic, including

  • Store / State > Components > Action > Store / State
  • Basic understanding on redux-saga

Training in The advance aims at

  • Facilitating the mindset migration
    • from traditional OOP UI framework favouring stateful application development
    • to data-driven functional programming benefiting stateless rendering but single stateful core control
  • Defining the details of pure redux architecture
  • Fostering the TDD migration
    • Dispatching same input to same functional process should persistently output identical result
    • Given all components are composed in functional style, the input is imperative to the whole application
    • State inside the store is the exclusive input of redux application, in other words, testing the result of a business logic is just verification of state
    • Provided that component behaved as a functional process, the regression test might taken place by injecting mock state and asserting output
  • Preparing hot code replacement for Corporate level deliverables

Prerequisite

  1. Components vs Elements vs Instances
  2. Reconciliation
  3. Higher-order components
    1. https://facebook.github.io/react/docs/higher-order-components.html

results matching ""

    No results matching ""