Satchel is a data store based on the Flux architecture. It is characterized by exposing an observable state that makes view updates painless and efficient.
OTHER License
Bot releases are visible (Hide)
Published by smikula about 7 years ago
select
API so that it is simpler and easier to understand. (#69)Published by kenotron about 7 years ago
This release just updates the package.json to include a license field. It is still licensed under MIT license.
Published by kenotron over 7 years ago
In this minor release, we are turning the select() API to one of more clarity. It will no longer create setters.
Published by kenotron over 7 years ago
import { action } from 'satcheljs/lib/legacy';
Published by smikula over 7 years ago
This is the first beta release for v3 of SatchelJS. The changes are pretty extensive; see the README for details.
Published by smikula over 7 years ago
Promise
in a more reliable way (#56)Published by kenotron over 7 years ago
The satcheljs-promise package brought the es6-promise typing to use the @types/es6-promise.
This is no longer necessary because Typescript already includes a lib.es6.d.ts that has the definitive definition for Promise. We are standardizing towards this so that any consumer can be sure they are using the same Promise definition.
Published by smikula over 7 years ago
getActionType
API to get the action type string from an action. (#50) This replaces the actionType
property on actions.Published by smikula over 7 years ago
then
or catch
callbacks created during an action are treated as actions themselves. This makes writing asynchronous code much easier because it is not necessary to manually wrap each callback in an action.console.group
API, but rather writes simple console.log
statements.raise
with raiseAction
in satcheljs-stitch (raise
is now deprecated). (#48)Published by kenotron over 7 years ago
Adds action type exposed as property off of actions (#43).
let someAction = action("someAction")(
function someAction() { });
expect(someAction.actionType).toBe("someAction");
Adds support for actions to decorate class methods (#40).
class TestClass {
@action("testMethod")
testMethod() { }
}
Published by kenotron over 7 years ago
Just like mobx has a useStrict mode, SatchelJS now has a way to turn off strict mode with... useStrict(false)
Published by kenotron almost 8 years ago
In this release, we added "createUndo" so that certain actions that has side effect (like API calls) can roll back changes to the store if the side effect fails.
Published by kenotron almost 8 years ago
Published by kenotron almost 8 years ago
Fixed a bug from newly released v2.8.0 code where the reactive decorator didn't actually allow the observer decorator to do its job.
Published by kenotron almost 8 years ago
Added a test mode to allow select and reactive decorators to work in tests by NOT executing the selector functions
Published by kenotron almost 8 years ago
Published by kenotron almost 8 years ago
Corrects the repo URLs
Published by kenotron almost 8 years ago
Published by kenotron almost 8 years ago
Published by kenotron almost 8 years ago
More decorator work. This release fixes the reactive decorator for the React component classes. Previously, it had a bug trying to modify the props itself. This release makes the decorator create a higher-order component injector.
The React dependency has been upgraded to match latest stable - 15.4.0