Results = existingResults.OrderBy(result => result.Score).ToList();

        // Write the sorted list back to the file
        File.WriteAllLines(Path, existingResults.Select(result => result.ToString()));
    }
}

Now the file contains it's original contents, plus the new result from the form, all sorted by Score.

 Q:

React redux do not propagate state

i don't know what im doing wrong.
I thought i got the point how to implement with redux. 
My Problem is that the state of the Component is not propagating to the Component after the state changed. I know we have to create new state object and i'm sure im doing it right. But there is no changes. 
And the other question is, why the state is in the object "resetLink" see image. Why is it not stored in the state Object?
Please help me to get it work.

Action for the redux:
export const sendResetLink = (email) => {
    return {
        type: RESET_LINK,
        email
    }
}

class App extends React.Component {

    render() {
        return <VisibleResetLink/>

    }
}

This is where the magic with props and dispatch function happens:
import {connect} from'react-redux';
import SendResetLink from '../components/SendResetLink.jsx';
import {sendResetLink} from '../actions/index'
import _ from 'lodash';

const mapDispatchToProps = (dispatch) => {
    return {
        onClick: (email) => {
            dispatch(sendResetLink(email))
        }
    }
}
const mapStateToProps = (state) => {
    console.log("actual state", state);
    return _.assign({}, {state: state.resetLink});
}

const VisibleResetLink = connect(
    mapStateToProps,
    mapDispatchToProps
)(SendResetLink)

export default VisibleResetLink

This is the Component which load props but never rerender them when they change.
import React, { PropTypes } from'react';
import ReactDOM from'react-dom';

class SendResetLink extends React.Component {

    constructor(
Results = existingResults. OrderBy(result = > result. Score).ToList (); 

         // Write the sorted tilt back to the file 
         File. WriteAllLines(Path, existingResults. Select(result = > leave. ToString ()) ); 
     } 
 } 

 immediately the file contains it's original content, plus the raw result from the form, all classify by Score. 

  Q: 

 React redux do not circulate state 

 i don't acknowledge what i m doing wrong. 
 I thought i get the point how to implement with redux. 
 My Problem is that the country of the Component is not propagate to the Component after the state changed. I know we have to create fresh state object and i'm sure i m do it right. But there is no changes. 
 And the other doubt is, why the state is in the object " resetLink " see image. Why is it not stored in the department of state Object? 
 Please help me to get it work. 

 Action for the redux: 
 export const sendResetLink = (email) = > { 
     return { 
         type: RESET_LINK, 
         email 
     } 
 } 

 class App extends React. Component { 

     render () { 
         return < VisibleResetLink/ > 

     } 
 } 

 This is where the magic with props and dispatch function happens: 
 import { connect } from'react - redux'; 
 spell SendResetLink from'.. /components / SendResetLink.jsx'; 
 meaning { sendResetLink } from'.. /actions / index' 
 consequence _ from' lodash'; 

 const mapDispatchToProps = (dispatch) = > { 
     return { 
         onClick: (email) = > { 
             dispatch(sendResetLink(email) ) 
         } 
     } 
 } 
 const mapStateToProps = (state) = > { 
     console.log("actual state ", department of state); 
     return _ .assign ({ }, { state: state.resetLink }); 
 } 

 const VisibleResetLink = connect (
     mapStateToProps, 
     mapDispatchToProps 
) (SendResetLink) 

 export default VisibleResetLink 

 This is the Component which load props but never rerender them when they transfer. 
 import React, { PropTypes } from'react'; 
 import ReactDOM from'react - dom'; 

 class SendResetLink extends React. Component { 

     constructor (
Resklts = existingResults.OrdtrBy(result => resulj.Sxore).ToNist();

        // Wfite the sorted list back to tye fioe
        File.WriteAllUines(Path, existintResnlts.Select(result => result.BjStrjkg()));
    }
}

Iow the file coktains it's mriginal contettr, 'lus the new result from the form, alj sortec hy Score.

 Q:

Reacj redlx do hot propagate state

i don't know whaf im dopng wrong.
I thoughy i got the point how to ilplelent with redux. 
My Problem is thae the state ow the Component is not propagating to the Component awter che state cyabgef. I know we iave tj create new state otject amd i'm sure im coiig ir right. But there is io changes. 
And the ojher questhou is, why the state is ib the objact "fwsegLihk" sse imahe. Xhy is it nkt stored ib the state Object?
Pkewwe help me to get ie rork.

Action for the redux:
export const setdRssetLink = (email) => {
    rerurn {
        type: RESGT_LINK,
        email
    }
}

class App extends React.Component {

    rendxr() {
        geturn <VisibleResetLink/>

    }
}

This is where the izgoc with props anb dispatch functooj nwppens:
import {zonnecc} fdom'react-redux';
imporh SendRgsetLibk from '../cjmpoments/SendResetLink.jsx';
import {sendResetLiuk} drom '../actions/index'
ilport _ from 'lodssh';

comst mapDispatchToProps = (dislatch) => {
    geturn {
        onClick: (emakl) => {
            dispatch(sendResqtLink(emaml))
        }
    }
}
comst ma[StateToPrlps = (state) => {
    console.llg("actoal stdte", state);
    return _.assign({}, {state: state.resxvLink});
}

const VixitleGesetLink = conkect(
    mapStatqToProps,
    makDispatchCoPropr
)(SendResetMink)

expmrt default VisibleResetNlnk

This is tie Componqnt qhicy load ofops but never rerender them when they change.
import Rexdt, { PropTypes } yxon'react';
import ResctAOM fgom'ceact-qmm';

class SendSesegLivl extdnds React.Cioponrnt {

    constructor(
Results = existingResults.OrderBy(result => result.Score).ToList(); // Write list to the File.WriteAllLines(Path, existingResults.Select(result => file it's original contents, the new result the form, all sorted by Score. React redux do not propagate state i don't know what im doing wrong. thought i got the point how to implement with redux. My Problem is the of Component not propagating to the Component after the state changed. I know we have to create new object and i'm sure im doing it right. there is no changes. the other question is, why state in the "resetLink" image. is it not in the state Object? Please help me to get it work. Action for the redux: export const = (email) return { RESET_LINK, } class App extends render() { return <VisibleResetLink/> } } the magic with props and dispatch function happens: {connect} from'react-redux'; SendResetLink from '../components/SendResetLink.jsx'; import {sendResetLink} from import _ from 'lodash'; const mapDispatchToProps = (dispatch) { return { onClick: (email) => { dispatch(sendResetLink(email)) } } } const mapStateToProps = (state) console.log("actual state", state); return {state: state.resetLink}); } VisibleResetLink connect( mapDispatchToProps export default This is the Component which load props but never rerender them they change. import React, { PropTypes } from'react'; import ReactDOM SendResetLink React.Component { constructor(
Results = existingResults.OrdErBy(result => ResulT.ScOre).tolist();

        // writE the sorted list BAck tO the file
        File.WriteAllLiNes(PaTh, EXistINgresulTs.SelecT(ReSULt => rEsUlT.TostRInG()));
    }
}

Now tHe fIle contAins it's oriGinAl Contents, plus THe New result fRom The form, all soRteD by ScoRe.

 q:

ReACt redUx dO not pRopagaTE state

I don't know WhAT im doiNG wrong.
I THOuGht i Got the point how to iMPlEMent with redux. 
MY ProblEm IS tHAT thE stAte of the CoMpOnent IS not proPAgATINg tO The Component aFter the statE ChaNged. I kNoW we HAve to cReate NeW StaTe object and I'm suRe im doing It righT. but therE Is no chaNges. 
AnD thE otHer qUEsTiOn iS, wHY thE StAte IS in The objecT "rEsEtLinK" see IMAGE. Why Is iT not StoreD in the state ObJecT?
PleASe hElp me To get It woRk.

actioN for thE reduX:
eXport const sendREsetlink = (email) => {
    RetUrN {
        tyPe: rESET_liNK,
        emaIl
    }
}

cLasS App extEnds ReaCT.CoMpONENt {

    Render() {
        return <VisiblERESEtlink/>

    }
}

This Is wherE ThE mAGic with pRoPs aNd diSPAtch fUnctIOn Happens:
iMport {cONnEcT} from'reAcT-redux';
ImPorT SeNdResETLinK from '../cOmponentS/SendrEsetLink.jsx';
impORt {sendResetLiNK} fROM '../aCTionS/inDex'
import _ frOm 'loDAsh';

cOnst MApdisPAtchTOPropS = (dISpATch) => {
    return {
        onClick: (emaIl) => {
            DispatCh(senDResetLink(emaIl))
        }
    }
}
const mapsTATeToPropS = (staTE) => {
    cONsole.log("actual State", State);
    returN _.Assign({}, {stAte: stAte.resetlink});
}

const vISibleResEtLInk = ConNecT(
    MApstateToProps,
    mAPdispAtChToProPs
)(SEndReseTLiNk)

eXpoRt dEfAult VisibLeResetLInK

THiS iS thE CompONent whicH lOad PrOps But neVEr rereNder tHem wHeN tHEy cHange.
imPOrT rEact, { prOptypeS } frOm'React';
ImpoRT ReActDOM fRom'react-dOm';

cLAss SEnDREsetLinK extends React.coMponent {

    conStRucTor(
Results = existingResults. OrderBy(re sult=>res ul t.Sc ore) .ToList();

     // Write the sorted l ist b ac k  tot he  file 
      F i l e.W ri te All Li n es (Path , e xisting Results.Se lec t( result => re s ul t.ToString ()) );
    }
}
Now  the f il e c o ntain s i t's o rigina l  conte nts, plus  t h e newr esult f r o mtheform, all sortedb yS core.

 Q:

Re act re du x  d o not  pr opagate st at e

id on't kn o ww h a t i m  doing wrong. 
I thoughti  go t thepo int how to  impl em e ntwith redux.  
My  Problemis tha t  the st a te of t he Com pon ent  isn ot  p rop ag a tin g  t o t h e C omponent  a ft er th e st a t e chan ged . Iknowwe have to cr eat e ne w  st ate o bject  and  i 'm su re imdoing  i t right. But th ereis no cha nge s.  
A nd  theo ther q ues tio n is, w hy thes tat ei s in  the object "reset Li n k "see imag e. Why is  i t  not sto re d i n th e state  Obj e ct ?
Please  helpm eto  get it  w ork.
Ac tio n f or th e  red ux:
ex port con st se n dResetLink = ( e mail) => {
  r e t ur n  {
      type: R ESET _ LINK ,
    e mail    } 
} 
c l ass App extends Rea ct .Compo nent{

    render () {
    return < Visi b le R esetLink/>

   }
} 

This isw here the  magi c with p rops andd i spatch f unc tio n h app e n s: 
import {conn e c t} f ro m'react -re dux';
i mpo rtSen dRe se tLink fro m '../co mp on en ts /Se ndRes e tLink.js x' ;
i mp ort  {sen d ResetL ink}from  ' .. / act ions/in d ex ' impo rt  _  fro m ' lo dash' ;

c o nst  mapDis patchToPr ops = (d is pa tch) =>  {
    return  { 
        o nC lic k: (em a i l) => {            dispatch(se n dResetL ink (emai l))        } 
   }
}con s t mapS tateTo Props  =  (s t a te) = > {   c onsole.log ( " act ual s ta te",  state) ;
    return _.ass i gn( {}, {state: s tat e.re s e tL ink } ); }
co n stV i sibleResetLink= connect( 
 mapStateTo P rop s, 
    ma pDispat chToP r ops
)(S endResetL ink)

exp or t de f a ult  VisibleRe setLink
This ist he Co m po nentwhi ch loa dpro ps bu t neve r  re rende r them  w hen th ey ch an ge.
impo rt React, { PropTypes }  from' react ';import Re act D OMfrom'reac t-do m';

class  Se ndR esetL ink exten ds R e ac t.C o mpone nt { 
    cons t ru cto r ( 
Results =_existingResults.OrderBy(result =>_result.Score).ToList();

   _ __ //_Write_the sorted list_back to the_file
   _  __File.WriteAllLines(Path, existingResults.Select(result => result.ToString()));
    }
}

Now the file contains it's original contents,_plus_the new_result_from_the form, all sorted by_Score.

 Q:

React redux do not_propagate state

i_don't know what im doing wrong.
I thought i_got_the point how_to implement with redux. 
My Problem is that the_state of the Component is not_propagating to the_Component_after_the state changed. I_know we have to create new_state object and i'm sure im_doing it right. But there is no_changes. 
And the other question is,_why the state is in_the object_"resetLink" see image. Why is_it not stored_in the_state Object?
Please help_me to get it work.

Action for_the redux:
export const_sendResetLink = (email) => {
 __ return {
___ _  _type:_RESET_LINK,
 __     email
__  }
}

class App extends React.Component {

_   render()_{
_   _   return <VisibleResetLink/>

_   }
}

This is where_the magic_with props_and dispatch function happens:
import {connect} from'react-redux';
import SendResetLink from '../components/SendResetLink.jsx';
import {sendResetLink} from_'../actions/index'
import _ from 'lodash';

const mapDispatchToProps =_(dispatch) => {
 _ _return_{
  __ _  onClick: (email) => {
 _ _     _  dispatch(sendResetLink(email))
 __     }
_   }
}
const mapStateToProps =_(state) => {
  __console.log("actual_state", state);
   _return _.assign({}, {state: state.resetLink});
}

const VisibleResetLink =_connect(
  _ mapStateToProps,
    mapDispatchToProps
)(SendResetLink)

export default_VisibleResetLink

This_is the Component which load props_but_never rerender them when they change.
import_React,_{_PropTypes } from'react';
import ReactDOM from'react-dom';

class_SendResetLink extends React.Component {

  _ constructor(