React Async States Versions Save

A Multi-Paradigm React State Management Library

v1.3.0

1 year ago

What's Changed

Full Changelog: https://github.com/incepter/react-async-states/compare/v1.0.0...v1.3.0

v1.0.0

1 year ago

What's Changed

  • Introduce async-states core package
  • Introduce asyncc-states-devtools and react-async-states-utils packages
  • Introduce Source.on and expose all methods
  • Deprecate and remove AsyncStateProvider, hoistToProvider and hostToProviderConfig
  • Rename AsyncStateStatus to Status
  • Rename ProducerRunEffect to RunEffect
  • Introduce pool and context along with their functions: enableDiscovery, requestContext, terminateContext and so on
  • Introduce wait
  • Introduce keepPendingDelayMs, skipPendingStatus, keepPendingForMs
  • Introduce Sources.of, Sources.for, getSource
  • Introduce retryConfig
  • Move important bricks to core package
  • Introduce onChange and onSubscribe from hooks

Following all the PRs that landed:

Full Changelog: https://github.com/incepter/react-async-states/compare/v1.0.0-rc1.1...v1.0.0

v1.0.0-rc-7

1 year ago

What's Changed

  • Remove StateBoundary concept: doesn't depend on the library, can be a secondary lib or gists.
  • Remove source utils: replaceState, getLaneSource, runSource, runpSource ...
  • remove useAsyncState.replaceState
  • add skipPendingStatus
  • add autoRunArgs
  • source object to have the full possible power: all methods
  • add internal runp function
  • add useSource
  • add useProducer
  • add source.patchConfig, getConfig, getPayload, mergePayload, run, runp, subscribe, getState, setState ...
  • remove a lot of junk code
  • add dev mode callerName
  • add deprecation warnings about deprecated features

v1.0.0-rc1.1

1 year ago

This is first release candidate for the library.

What's this

This library is a multi-paradigm decentralized react state state manager, which means it is able to perform (async) state management in multiple ways with the same API.

Library goals and features

It was built from the ground up with the following goals:

  • Remove the boilerplate
  • Unified universal API that works in all environments
  • Concurrency safe
  • Cancellations friendly
  • State sharing in all directions (up and down)
  • Support all forms of functions (Promises, async/await, generators...)
  • Cache support
  • Events support
  • Debounce and throttle
  • Selectors efficient
  • Respects the react mental model
  • Support websockets and intervals
  • And many more...

Please refer to the docs to read more about the library.

Contributors