Skip to content

Instantly share code, notes, and snippets.

Last active Feb 16, 2019
What would you like to do?
import { BrowserRouter } from 'react-router-dom'
import Routes from 'Routes'
import { useAppReducer, AppReducerContext } from 'Hooks/useAppReducer'
export default function App () {
const appReducer = useAppReducer()
return (
<AppReducerContext.Provider value={appReducer}>
<Routes />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment