satcheljs

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

Downloads
2.7K
Stars
394
Committers
16

Bot releases are visible (Hide)

satcheljs - v3.0.0-beta4

Published by smikula about 7 years ago

  • Change the select API so that it is simpler and easier to understand. (#69)
satcheljs - v3.0.0-beta3

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.

satcheljs - v2.15.0

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.

satcheljs - v3.0.0-beta2

Published by kenotron over 7 years ago

Breaking changes

  1. All satcheljs-* packages have been folded into a single package under src
  2. "legacy" APIs are moved under src/legacy
  3. All legacy public APIs are exposed through 'satcheljs/lib/legacy' index.ts instead of the 'satcheljs' index.ts. To consume legacy API, import from there:
import { action } from 'satcheljs/lib/legacy';

Infra changes

  1. Jest is introduced for testing
  2. Husky, lint-staged and prettier are introduced and enforces code style
  3. Update Travis configuration to allow Travis to handle deployment rather than a custom script
satcheljs - Satchel 3 Beta 1

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.

satcheljs - v2.14.1

Published by smikula over 7 years ago

  • Changes satcheljs-promise to override Promise in a more reliable way (#56)
satcheljs - v2.14.0

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.

satcheljs - v2.13.0

Published by smikula over 7 years ago

  • Adds the getActionType API to get the action type string from an action. (#50) This replaces the actionType property on actions.
satcheljs - v2.12.0

Published by smikula over 7 years ago

  • Adds satcheljs-promise middleware (#46). With this middleware applied, any 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.
  • Changes the way satcheljs-trace writes to the console (#47). It no longer uses the console.group API, but rather writes simple console.log statements.
  • Replaces raise with raiseAction in satcheljs-stitch (raise is now deprecated). (#48)
satcheljs - ActionType Release

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() { }
    }
    
satcheljs - Strictly speaking release

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)

satcheljs - Time Lord Release

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.

satcheljs - fix observer

Published by kenotron almost 8 years ago

satcheljs - Get with it, decorator!

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.

satcheljs - Beast... errr test mode

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

satcheljs - Upgrade to TS2.1 and Mobx 2.6.x

Published by kenotron almost 8 years ago

  • SelectorFunction now is generic and can allow developers using it to have the mapped types from TS2.1 assist in intellisense while creating those functions
  • Updated mobx
satcheljs - Correcting repo URLs

Published by kenotron almost 8 years ago

Corrects the repo URLs

satcheljs - select() now can support tests...

Published by kenotron almost 8 years ago

  • select() now allow for tests to override the params
satcheljs - Bug fix for the optional args

Published by kenotron almost 8 years ago

  • select(...) decorator for functions now supports optional args
  • select-react exports the ReactiveTarget, so test code can use this interface to access unwrapped controls
satcheljs - Decorated for the Holidays!

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

Package Rankings
Top 3.51% on Npmjs.org
Badges
Extracted from project README
npm Build Status License: MIT
Related Projects