⚛️

React Native Reference

A framework for building native apps using React, bringing web development to mobile. Essential syntax and code samples for professional development.

Component

const App = () => { return <Text>Hello Native</Text>; }

Styles

const styles = StyleSheet.create({ container: { flex: 1 } });

Hooks

const [count, setCount] = useState(0);

Flexbox

flexDirection: "row", justifyContent: "center"

Props

const Greet = ({ name }) => <Text>{name}</Text>

Fetch

useEffect(() => { fetchData(); }, []);