Skip to content

Releases: incepter/react-async-states

v1.3.0

02 Apr 13:22
8010b86
Compare
Choose a tag to compare

What's Changed

  • createApplication enhancements by @incepter in #138
  • split hydration on DOM and Server + add several tests by @incepter in #141
  • add app.resource.api.use and app.resource.api.useAsyncState
  • fix runp not ending when it is consumed from cache by @incepter in #142
  • Add the demo package by @incepter in #143

Full Changelog: v1.0.0...v1.3.0

v1.0.0

20 Feb 10:48
be70b50
Compare
Choose a tag to compare

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: v1.0.0-rc1.1...v1.0.0

v1.0.0-rc-7

04 Nov 16:06
Compare
Choose a tag to compare
v1.0.0-rc-7 Pre-release
Pre-release

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

27 Jun 19:34
742b50f
Compare
Choose a tag to compare
v1.0.0-rc1.1 Pre-release
Pre-release

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