Skip to content Skip to sidebar Skip to footer

Passing Redux Value To Material Ui Radio Group

It is the form that has problem https://github.com/lukeclarkson/portal/blob/master/components/client/AddClientForm.js And it is the form container https://github.com/lukeclarkson/p

Solution 1:

if you want to extract data from redux you can map the redux state to props. read the official documentation https://react-redux.js.org/using-react-redux/connect-mapstate#connect-extracting-data-with-mapstatetoprops and then you can access redux data in you component with props and pass in your radio group as this.props.nameOfYourProp


Post a Comment for "Passing Redux Value To Material Ui Radio Group"