You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
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
The text was updated successfully, but these errors were encountered: