Created
May 8, 2020 21:44
-
-
Save marshallmurphy/abed19794235f3563dbd70c7b72d95a4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// screens/Settings.js | |
import React from 'react'; | |
import { StyleSheet, Text, View } from 'react-native'; | |
import { useSelector } from 'react-redux'; // import the hooks | |
export default function HomeScreen() { | |
const settings = useSelector(state => state.settings); // retrieve settings from the store | |
console.log('Settings: ', settings); | |
return ( | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment