Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Viewing all articles
Browse latest Browse all 30356

Where does the business logic go in a React-native app?

$
0
0

Inside the React-Native documentation, I only see examples using props, states, styles, and rendering. Everything in App.js

Where is business logic supposed to go?

In particular, I would like to fetch URLs with GET/POST, and manipulate the data, before going in

render() {return (<View style={{ flexGrow: 1, alignItems: 'center', justifyContent: 'center'}}>    ...</View>);}

to render something on the screen.


Viewing all articles
Browse latest Browse all 30356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>