React setState without Render – DEV Community

Since setstate is outlined in onpress, it renders once more and those with enter are deleted. <View fashion={kinds.container}><View><Textual content>TAKSİT SEÇENEKLERİ</Textual content></View>{this.state.Record.map((merchandise, key) => {return (<TouchableOpacityfashion={kinds.paymentItemTaksit}key={key}onPress={() => {this.setState({checked: key,taksitsayisi: merchandise.worth,surcharge: (cart.whole * merchandise.worth) / 100,});}}><View fashion={kinds.shippingItemTitle}>{this.state.checked === key ? (<View><Icontitle=”radio-button-checked”fashion={kinds.checkIcon}/>{merchandise.worth == 1 ? (<Textual content fashion={kinds.paymentItemText}>{merchandise.taksit} {cart.whole} {cart.whole}</Textual content>) : (<Textual content fashion={kinds.paymentItemText}>{merchandise.taksit}{‘ ‘}{((cart.whole + (cart.whole […]