grand_central icon indicating copy to clipboard operation
grand_central copied to clipboard

State-management and action-dispatching for Ruby apps

Results 6 grand_central issues
Sort by recently updated
recently updated
newest added

This PR adds two possibilities for allowing attributes to be specified with keyword args. One adds a separate `Action.with_keyword_attributes` method and the other determines keyword-ness dynamically during instantiation. ```ruby #...

This lets you fork an action in testing so you don't overwrite its actual store for integration tests. Here is a simple example: ```ruby Action = GrandCentral::Action.create SetName = Action.with_attributes(:name)...

Would be very useful if there was an out of the box connector to [Redux DevTools extension](https://github.com/zalmoxisus/redux-devtools-extension). Integrated Time travel debugging would be awesome.

Given "redo" is a control statement, would it make sense to rename ```VersionedStore#redo``` to ```VersionedStore#rollforward``` ? That way it's similar to "rollback". Or perhaps ```VersionedStore#rewind``` and ```VersionedStore#replay``` ? Just an...

This can allow them to be stored in `localStorage`, sent to the server, etc. It's a start to add support for #4.

Given that current state is a reduction of the list of all actions performed on the initial state, making actions serializable could allow a store to send bug reports automatically....