The Complete React Native + Hooks Course 2020 Edition

A Jonathan Griffith Production in association with Meta Quest

The Complete React Native + Hooks Course 2020 Edition

const [state, dispatch] = useReducer(reducer, initialState); <AppContext.Provider value=state, dispatch>

:

useEffect(() => fetch('https://api.example.com/data') .then(response => response.json()) .then(data => setData(data)); , []); the complete react native + hooks course 2020 edition

Before we dive into the course, let's set up our environment. To start building React Native apps, you need to have Node.js (14 or later) and npm (6 or later) installed on your machine. You also need to install the React Native CLI using npm: dispatch] = useReducer(reducer