acdlite / acdlite/flummox

Passing in arguments to store from async actions is painful to unpack

Open
#191 15 comments 0 reactions 0 assignees View on GitHub
discussion enhancement outdated question
Dominant language
JavaScript
Stars
1.7k
Forks
109
PR merge metrics
No merged PRs in 30d

Description

Here is my psuedo code example of how I have to unpack my arguments passed to the store method callbacks for async actions:
https://gist.github.com/JAStanton/a89844d150ef5b0f66b9

I feel like I'm doing something wrong, why do I have to dive into actionArgs for the arguments specifically in handleFetching / Begin callback?

(This is psuedo code)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.