Skip to content

Examples -> Shopping Cart -> Store Modules - Actions not within module #370

Closed
@webnoob

Description

@webnoob

I feel the example of dealing with stores is a little misleading. After reading the docs, it's advising a modular approach for larger applications. The store example is Ok but you have a module for cart and a module for products but at a base level, you have actions that are specific to each of those. i.e getAllProducts should be an action set against modules/products.js module.

Would the example not serve better if everything that belonged together was in the same modules?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions