Skip to content

Reading: Class 33

Karl Polintan edited this page May 17, 2019 · 2 revisions

cf 33: Redux Middleware

Readings

  • Read redux middleware
    Can be used for logging, crash reporting, talking to async API, routing, etc.

Problem: Logging

  • Attempt1: Logging Manually
  • Attempt2: Wrapping Dispatch
  • Attempt3: Monkeypatching Dispatch

Problem: Crash Reporting

  • Attempt4: Hiding Monkeypatching
  • Attempt5: Removing Monkeypatching
  • Attempt6: Naïvely Applying the Middleware

Final Approach

Seven Examples

Clone this wiki locally