Which scenarios API better? #3
Unanswered
fiberliber
asked this question in
Q&A
Replies: 1 comment
-
|
Thinking about this, I make a decision to add both API cases. So, object with methods, which are receive getState and actions now called scenarios and function, which receive getState and action and return object with scenarios now called a bulk scenarios |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, people!
This is question about scenarios declaration
Currently scenarios have these API:
Is it better to transform that to next API?:
Scripts usage API in this case can remains tha same - thay are can be colled from components just with payload
Note: this can add around 300 bytes to library, so, it size become more than 1 KByte
Beta Was this translation helpful? Give feedback.
All reactions