💻
Bookstores
  • Tech Stacks
  • Django
    • Django REST framework
    • Serializer validation
    • Form validation in view class
  • Use Open API data model
  • Server Side react javascript
  • React context and redux difference
  • Migrate state management from Redux to Jotai
  • Migrate from REST to GraphQL
  • Migrate from REST to gRPC
  • How to handle cross origin?
Powered by GitBook
On this page
  • Context
  • Redux

Was this helpful?

React context and redux difference

Context

  • Allow to have state value pass around difference level of components.

  • Allow to have multiple contexts.

  • One value changed, then rendering all components again.

Redux

  • It's centralized state management.

  • Allow to hava middleware.

  • Better for middle tier test case.

  • A cetain level coding complication in order to pass value to different stages.

PreviousServer Side react javascriptNextMigrate state management from Redux to Jotai

Last updated 3 years ago

Was this helpful?