Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 230087

Redux state change not displayed

$
0
0

thx so far (y)

i just can share some files here not the complete app:

this ist my state.jsx:
https://paste.ofcode.org/m5nFqekaiyM4gxf2qnKTA7

here the “wounds” are listed with {wounds.map( (wound: any) => (
https://paste.ofcode.org/DJqwkAJsEyrvHPrHM2TUCE

and this is my add Wound Form:
https://paste.ofcode.org/Phu42bYfwPHbPVfm9qQXYN

i call the add wound form with:
< Link to={/wound/${selectedClient.id}}>

And after dispatching i go to the list with:
history.push(/wounds/${selectedClient.id});

i console.log the state and the changes are made.
But the view is not rerendert new ??

thx for any help, im stuck for days :-/


Viewing all articles
Browse latest Browse all 230087

Trending Articles