redux-connect icon indicating copy to clipboard operation
redux-connect copied to clipboard

Using ownProps inside the preload action

Open ilonashub opened this issue 7 years ago • 2 comments

Hey,

I want to use the component's own prop for the preloaded data action that I send to the asyncConnect. Is there a way of doing so? Couldn't find anything in the docs.

thanks!

ilonashub avatar Aug 14 '18 15:08 ilonashub

they are all available alongside extra props from async connect, ie in the promise prop

AVVS avatar Aug 14 '18 15:08 AVVS

@AVVS could you please give a quick example? I can’t figure out how...

sneridagh avatar Dec 12 '19 17:12 sneridagh