Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Forward redux events to remote stores#247

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
zshannon wants to merge1 commit intotshaddix:master
base:master
Choose a base branch
Loading
fromCommandDot:feature/forward-actions-to-remote-stores

Conversation

@zshannon
Copy link

Hey folks, thanks for a great package! I ran into the sameissue as a couple other people where I wasn't getting actions to trigger my side-effects on my remote stores. I added a redux middleware to the background store inwrapStore that drops every action into the message bus for the remote stores and re-dispatches them on the remote so they can get picked up by side-effects.

NB: I didn't think carefully about the ordering of messages here because it doesn't matter for my use case, but would probably be a good idea if you've got the time to think about when the actions and state patches arrive at the remote ;)

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@zshannon

[8]ページ先頭

©2009-2025 Movatter.jp