Good afternoon, you need to extract props from the store in the calculate component and transfer the results of the calculation with it to the app
app.js
import React, { Component } from 'react'; import { connect } from 'react-redux'; import principalChanged from './src/actions'; import Input from './src/components/common'; import { principal2, principal3 } from './src/components/calculate'; class App extends Component { onPrincipalChange(text) { this.props.principalChanged(text); } render() { return ( <Card> <Input placeholder="Placeholder" label="Label" onChangeText={this.onPrincipalChange.bind(this)} value={this.props.principal} /> `Текущее состояние переменной: ${this.props.principal}`{/n} `Новая переменная: ${principal2}` `Новая переменная: ${principal3}` </Card> ); } } const mapStateToProps = state => { return { principal: state.form.principal }; }; export default connect(mapStateToProps, { principalChanged })(App); calculate.js
// вызов переменной principal из store // каким то образом export const principal2 = (principal) => { return ( { principal * 2 } ); // вычисления }; export const principal3 = (principal) => { return ( { principal / 2 } ); // вычисления };