Redux with React

This thread contains 1 reply, has 2 voices, and was last updated by darshan.soni007 5 years, 6 months ago.

  • Author Replies
    • #51535

      What are the principles that Redux follows with React?

    • #51536

      Single source of truth:
      The state of the whole application is stored in an object/ state tree within a single store. The single state tree performs it easier to keep track of changes over time and debug or inspect the application.

      The state is read-only:
      The only way to change the state is to trigger an action. An action is a common JS object defining the change. Just like a state is the minimal representation of data, the action is the minimal representation of the change to that data.

      Changes are made with pure functions:
      In order to specify how the state tree is modified by actions, you need pure functions. Pure functions are those whose return value depends entirely on the values of their arguments.

Viewing 1 reply thread

You must be to reply to this thread.Please or . Registration is 100% free.


Call Us Now For Free Consultation97370 05566

Our experts listen to you patiently and suggest you the right course after conducting a personality profile test. Register your interest below to schedule personality profile test for you.


Copyright 2016-2024 Smart Mentors. All Rights Reserved.



Sign up now to Become An Instructor

    Register your Interest

      cf7captchaRegenerate Captcha