Skip to content

Releases: AustP/react-flux

v1.4.0

27 Feb 18:28

Choose a tag to compare

  • Update react peer dependencies

v1.3.1...v1.4.0

v1.3.1

10 Feb 06:26

Choose a tag to compare

Prevent race conditions by using useLayoutEffect instead of useEffect in useState.

v1.3.0

10 Oct 19:46

Choose a tag to compare

  • 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

10 Aug 23:16

Choose a tag to compare

  • Updated the EventLogger to handle subtracting items from arrays and keys from objects.

v1.2.2

09 Jul 22:39

Choose a tag to compare

  • Allow side-effect runners to immediately return a call to dispatch

v1.2.1

09 Jul 04:17

Choose a tag to compare

  • Brought back flux/error event dispatching.
  • Replaced status.count with status.dispatched.
  • Made status.error be of type Error

v1.2.0

09 Jul 03:05

Choose a tag to compare

  • No longer dispatch the flux/error event when an error is thrown.
  • Dispatching promises resolve with an event status object.

v1.1.2

05 Jul 05:54

Choose a tag to compare

  • Allow a list of dependencies in useStore for optimization

v1.1.1

05 Jul 03:19

Choose a tag to compare

  • Removed optimization from the library - users of the library can implement their own optimizations fairly easily.

v1.1.0

04 Jul 18:30

Choose a tag to compare

  • Added the number of times an event has been dispatched to the event status object.