Skip to content
Permalink
Branch: master
Commits on May 8, 2019
  1. Update logo.

    ghengeveld committed May 8, 2019
  2. Add bol.com

    ghengeveld committed May 8, 2019
Commits on Apr 30, 2019
  1. Add pull request template.

    ghengeveld committed Apr 30, 2019
  2. Add types definitions for reducer and dispatcher.

    ghengeveld committed Apr 30, 2019
Commits on Apr 27, 2019
  1. 6.2.0

    ghengeveld committed Apr 27, 2019
  2. Standalone helper components (#41)

    ghengeveld committed Apr 27, 2019
    * Separate helper components from Async itself so they can be used with hooks.
    
    * Update README.
  3. Add note on reducer/dispatcher power feature.

    ghengeveld committed Apr 27, 2019
  4. 6.1.0

    ghengeveld committed Apr 27, 2019
  5. Allow control over internal state using a state reducer and dispatcher (

    ghengeveld committed Apr 27, 2019
    #46)
    
    * Add 'reducer' and 'dispatcher' options to allow external control over internal state.
    
    * Re-enable all tests.
    
    * Invoke the promiseFn from the dispatcher so we can control its invocation.
Commits on Apr 22, 2019
  1. Create variables just-in-time.

    ghengeveld committed Apr 22, 2019
  2. Bump all dependencies.

    ghengeveld committed Apr 22, 2019
Commits on Apr 5, 2019
  1. Update logo.

    ghengeveld committed Apr 5, 2019
Commits on Apr 4, 2019
  1. Fix syntax highlighting for JSX.

    ghengeveld committed Apr 4, 2019
Commits on Apr 3, 2019
  1. Errors should be actual Error instances.

    ghengeveld committed Apr 3, 2019
  2. 6.0.2

    ghengeveld committed Apr 3, 2019
Commits on Mar 29, 2019
  1. 6.0.1

    ghengeveld committed Mar 29, 2019
  2. Add upgrading information.

    ghengeveld committed Mar 29, 2019
  3. 6.0.0

    ghengeveld committed Mar 29, 2019
  4. Update API to better match Promise spec and add the 'status' prop (cl…

    ghengeveld committed Mar 29, 2019
    …oses #35) (#37)
    
    + **Breaking change**: `Async.Pending` was renamed to `Async.Waiting`
    + Added the `status` prop, which can be one of `initial`, `pending`, `fulfilled` or `rejected`
    + Added `isInitial`, `isPending`, `isFulfilled` (with alias `isResolved`), `isRejected` and `isSettled` boolean props. `isLoading` is now an alias for `isPending`.
    + Added separate TypeScript types for each status, to make various props non-optional.
    
    The `pending` and `fulfilled` statuses were chosen over `loading` and `resolved` because they better match the [terminology in the Promise specification](https://github.com/domenic/promises-unwrapping/blob/master/docs/states-and-fates.md#readme). The `Pending` helper component was renamed to `Initial` accordingly, causing a breaking change.
  5. Run lint checks on Travis as well.

    ghengeveld committed Mar 29, 2019
  6. Fix lint error.

    ghengeveld committed Mar 29, 2019
  7. Update examples to use new state model.

    ghengeveld committed Mar 29, 2019
  8. Rename 'waiting' to 'initial'.

    ghengeveld committed Mar 29, 2019
Commits on Mar 27, 2019
  1. 6.0.0-0

    ghengeveld committed Mar 27, 2019
  2. Update dependencies.

    ghengeveld committed Mar 27, 2019
Commits on Mar 26, 2019
  1. Add tests for Async.Settled.

    ghengeveld committed Mar 26, 2019
  2. Use union type with undefined instead of optional type.

    ghengeveld committed Mar 26, 2019
  3. Use literal booleans where we can.

    ghengeveld committed Mar 26, 2019
  4. Update type definitions to avoid optional properties.

    ghengeveld committed Mar 26, 2019
  5. Add aliases to typings.

    ghengeveld committed Mar 26, 2019
  6. Rename 'pending' to 'waiting' and 'loading' to 'pending'.

    ghengeveld committed Mar 26, 2019
  7. Implement 'status' prop and 'isPending', 'isFulfilled' and 'isRejecte…

    ghengeveld committed Mar 26, 2019
    …d' booleans.
Older
You can’t perform that action at this time.