Skip to content

How to communicate with Redux/MobX/Other State management tools elegantly. #610

Closed

Description

@wewoor
No description provided.

Activity

  1. hepezu commented on Jan 15, 2022

    @hepezu

    In my case, I create a service to collect the events and states, and notify the redux. I like the current state management, although it is a little bit strange to some react developers. It is flexible enough, more detailed documentation on it would be nice.

  2. wewoor commented on Jan 17, 2022

    @wewoor
    CollaboratorAuthor

    In my case, I create a service to collect the events and states, and notify the redux. I like the current state management, although it is a little bit strange to some react developers. It is flexible enough, more detailed documentation on it would be nice.

    The events and states are in one service, is the service too complex? We separate the States and Events via the Controller layer.

  3. hepezu commented on Jan 20, 2022

    @hepezu

    I mainly use your mode to manage states(service and controller with global DI) in project developed with molecule, and I like that.

    I have some modules with old codes which use redux, so I make a service to do the communication between existing redux module and services in molecule(not all service states, only what I need). I love the current molecule's architecture, by using extensions and molecule services, it is facile to make extension modules with different tech stacks.

  4. wewoor commented on Jan 21, 2022

    @wewoor
    CollaboratorAuthor

    I mainly use your mode to manage states(service and controller with global DI) in project developed with molecule, and I like that.

    I have some modules with old codes which use redux, so I make a service to do the communication between existing redux module and services in molecule(not all service states, only what I need). I love the current molecule's architecture, by using extensions and molecule services, it is facile to make extension modules with different tech stacks.

    Your feedback is very important to us. we are planning to extract this architecture into a separate package, and it can be used for other React projects. Maybe we can keep in touch, lol~

    #622

  5. hepezu commented on Jan 29, 2022

    @hepezu

    Happy Spring Festival.

    Sure, keep in touch, I would like to make a demo in the future.

  6. locked and limited conversation to collaborators on Mar 2, 2022
  7. converted this issue into a discussion #676 on Mar 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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