Skip to content

"redux state" panels action send to FIRST store. #17

@uk-taniyama

Description

@uk-taniyama

If i want to display multiple stories with addon-docs, i need to create multiple stores.
BUT "redux state" panel action send to FIRST store.
So, i cannot use "redux state" panel.

withRedux.ts

  if (!initialized) {
    channel.on(events.SET_STATE, state => store.dispatch(setStateAction(state)))
    channel.on(events.DISPATCH, action => store.dispatch(action))
  }

  initialized = true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions