Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

data flow view #4

Open
7 of 11 tasks
ChrisFan opened this issue Oct 19, 2016 · 5 comments
Open
7 of 11 tasks

data flow view #4

ChrisFan opened this issue Oct 19, 2016 · 5 comments
Assignees
Milestone

Comments

@ChrisFan
Copy link
Member

ChrisFan commented Oct 19, 2016

  • mv* flow
    • component: dispatch a new action
    • component: delete
    • component: create
    • model: delete
    • model: create
  • action flow
    • effect: create/update/delete
    • reducer: create/update/delete
    • better action flow layout
    • action flow route/page & components/models filtering
@ChrisFan ChrisFan added this to the early preview milestone Oct 19, 2016
@ChrisFan ChrisFan self-assigned this Oct 19, 2016
@ChrisFan
Copy link
Member Author

#14 create/delete of component

@ChrisFan
Copy link
Member Author

#15 create/delete models
#16 add component dispatch

@ChrisFan
Copy link
Member Author

#23 components/models filtering

@jaredleechn
Copy link
Member

jaredleechn commented Dec 29, 2016

+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|                                                                                                                                                                                       |
|                                                                                                                                                                                       |
|      +---------------------------+       +----------------------------+                                                                                                 +---------+   |
|      | action                    |       |action                      |                                                                                                 |         |   |
|  +--->   .from.contain(component)|  +---->  .from.contain(otherEffect)+------------+------------------------------------------------------------------------------------+ reducer |   |
|  |   |                           |  |    |  &&notContain(component)   |            |                                                                                    |         |   |
|  |   +---------------------------+  |    +----------------------------+            |                                                                                    +---------+   |
|  |                                  |                                              |                                                                                                  |
|  |                                  |                                              |                                                                                                  |
|  |                                  |                                              |                                                                                                  |
|  |                                  |                                      +-------v-------+                                                                                          |
|  |                                  +--------------------------------------+               |                                                                                          |
|  |                                                                         | effect.effect |                                                                                          |
|  +-------------------------------------------------------------------------+   .noTo()     |                                                                                          |
|                                                                            |               |                                                                                          |
|                                                                            +------+--------+                                                                                          |
|                                                                                   |             +----------------------------+                                                        |
|                                                                                   |             |                            |                                           +---------+  |
|                                                                                   |             | action                     |                                           |         |  |
|                                                                                   +------------->   .notContain(component)   +--------------------+----------------------> reducer |  |
|                                                                                                 |   .notContain(otherEffect) |                    |                      |         |  |
|                                                                                                 |                            |                    |                      +---------+  |
|                                                                                                 +----------------------------+   +----------------v------------------+                |
|                                                                                                                                  |                                   |                |
|                                                                                                                                  | effect                            |                |
|                                                                                                                                  |   .action.notContain(component)   |                |
|                                                                                                                                  |   .action.notContain(otherEffect) |                |
|                                                                                                                                  |                                   |                |
|                                                                                                                                  +-----------------------------------+                |
|                                                                                                                                                                                       |
|                                                                                                                                                                                       |
+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

@jaredleechn
Copy link
Member

@ChrisFan 栅格比例看情况吧,感觉 effct 到 ruducer 中间内容可能有点多

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants