Hi,
Can i connect a component to Redux with async rendering ?
Something like this would be great :
{/* Fetch data before render */} <Route async path="/page3" render={({ store: { dispatch } }) => dispatch(fetchSomething())} />
Or any pattern suggestion is welcome :)
Thanks !
Hi,
Can i connect a component to Redux with async rendering ?
Something like this would be great :
{/* Fetch data before render */} <Route async path="/page3" render={({ store: { dispatch } }) => dispatch(fetchSomething())} />Or any pattern suggestion is welcome :)
Thanks !