Releases: AustP/react-flux
Releases · AustP/react-flux
v1.3.1
Prevent race conditions by using useLayoutEffect
instead of useEffect
in useState
.
v1.3.0
- Added
useDispatchedEvent
. It registers a side-effect that triggers whenever an event is dispatched.
- Added
useResolvedEvent
. It registers a side-effect that triggers whenever an event resolves.
v1.2.3
- Updated the EventLogger to handle subtracting items from arrays and keys from objects.
v1.2.2
- Allow side-effect runners to immediately return a call to dispatch
v1.2.1
- Brought back
flux/error
event dispatching.
- Replaced status.count with status.dispatched.
- Made status.error be of type Error
v1.2.0
- No longer dispatch the
flux/error
event when an error is thrown.
- Dispatching promises resolve with an event status object.
v1.1.2
- Allow a list of dependencies in useStore for optimization
v1.1.1
- Removed optimization from the library - users of the library can implement their own optimizations fairly easily.
v1.1.0
- Added the number of times an event has been dispatched to the event status object.