Skip to content

How to add Mobx ? #44

Description

@tonyalaribe

Your client.js is quite complicated, so i dont know how to add mobx provider,

Activity

  1. sarika01 commented on Dec 4, 2017

    @sarika01
    Contributor

    You could declare the store in the run function in client.js. Then pass it to the render attribute function used at UniversalRouter statement.
    In the render function you can pass this store to the component.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions