Are you open to adding a Payload utility type? I think the following would be fairly useful:
constaction=createActionCreator('FOO',resolve=>(foo: string)=>resolve({ foo }),)// Get the payload type of this actionconstFooPayload=Payload<typeofaction>
Essentially I think you can do something like this but it would be better to make it generic.
React Redux Question and Answer Application. Candidate receives total questions answered correctly. Each Answer answered incorrectly is highlighted to the candidate.
React, redux app used thunk as middleware. This project is about to show the vacation-related data that is fetched from API of Github by using redux and async react fetch with pagination and filtering, sorting option.
Are you open to adding a
Payloadutility type? I think the following would be fairly useful:Essentially I think you can do something like this but it would be better to make it generic.
ty