Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

broadcast API + database abstraction: Send redux actions over the wire? Use actions + reducers/actors to abstract database? #35

Open
marcelklehr opened this issue Jan 20, 2016 · 1 comment
Milestone

Comments

@marcelklehr
Copy link
Member

This would simplify plugins, make them more dry. However, sending messages would still need to be handled by custom redux middleware. Also, action creation would move to the server instead of on the client, which is no big win. However, if it were convention that plugins register action handlers, They would act on an incoming action and might send one back or send one to everyone else.

Nice about using actions to manipulate the database is that middleware can check authorization.

See also reduxjs/redux#313 and https://gist.github.com/wmertens/a408e15a08301081ebad

@marcelklehr
Copy link
Member Author

@marcelklehr marcelklehr changed the title broadcast API: Send redux actions over the wire (the stream) instead of messages? broadcast API + database abstraction: Send redux actions over the wire? Use actions + reducers/actors to abstract database? Jan 20, 2016
@marcelklehr marcelklehr added this to the 1.0 milestone Jan 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant