Skip to content
This repository was archived by the owner on Jul 28, 2023. It is now read-only.
This repository was archived by the owner on Jul 28, 2023. It is now read-only.

Decide if we want to expose some parts of the router and/or other configuration in the store #160

@michalczaplinski

Description

@michalczaplinski

As mentioned in https://github.com/c4rl0sbr4v0/wp-movies-demo/pull/15#issuecomment-1433476450:

We need to investigate if we want to expose some parts of the router and/or other configuration in the store, like:

{
  state: {
    router: {
      url: "https://mysite.com/post",
    }
  },
  actions: {
    router: {
      navigate: async (url) => {
        // ...
      }
    }
  }
} 

This is somewhat reminiscent of the way that the state in Frontity Framework has worked.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions