Releases: incepter/react-async-states
Releases · incepter/react-async-states
v1.3.0
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
What's Changed
- Introduce
async-states
core package - Introduce
asyncc-states-devtools
andreact-async-states-utils
packages - Introduce
Source.on
and expose all methods - Deprecate and remove
AsyncStateProvider
,hoistToProvider
andhostToProviderConfig
- Rename
AsyncStateStatus
toStatus
- Rename
ProducerRunEffect
toRunEffect
- Introduce
pool
andcontext
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
andonSubscribe
from hooks
Following all the PRs that landed:
- State boundary by @incepter in #75
- rewrite useSelector + useSource + lot of refactoring & file structure change + StateBoundary concept + source utils + source methods + the devtools + many other things by @incepter in #77
- PREPARE v1 by @incepter in #82
- V1 prepare by @incepter in #90
- Dev by @incepter in #91
- V1_ final preparation_chunk1 by @incepter in #94
- support hideFromDevtools configuration + standalone devtools + autoconfigure by @incepter in #96
- Remove internal instances from devtools + devtools extension fixes and optimizations + proper readme by @incepter in #97
- release rc-9 and devtools alpha 1 by @incepter in #98
- Devtools optimizations and dev by @incepter in #99
- Dev by @incepter in #104
- AsyncState fields to be optional & hooks results iterable & toArray &... by @incepter in #105
- Dev by @incepter in #107
- Dev by @incepter in #109
- support bailout run by @incepter in #110
- some docs updates + condition function + subscribe and change events to receive the source by @incepter in #111
- enhance r18+ support with read(suspend, throw) & Introduce react-async-states-utils by @incepter in #112
- feat: independent producerWrapper & runc support in utils package by @incepter in #117
- Support for internal instance events by @incepter in #116
- publish async-states package by @incepter in #118
- Feat/pool: pool and remove provider by @incepter in #119
- Dev by @incepter in #120
- Dev by @incepter in #121
- Support stacking events via source.on API + Move StateHook and all logic to core package by @incepter in #124
- Update queue (#126) by @incepter in #127
- Dev by @incepter in #128
- Automatically spread hydrated instances on mount on client by @incepter in #131
- Dev by @incepter in #132
- Add first class support for retry by @incepter in #134
- Add onSubscribe, Add runner and fix runc + Internal refactoring by @incepter in #135
- Publish v1 by @incepter in #136
Full Changelog: v1.0.0-rc1.1...v1.0.0
v1.0.0-rc-7
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
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.